mirror of
https://github.com/v2board/v2board.git
synced 2025-01-31 02:29:14 +08:00
3bc8f58a1b
update readme update some file
25 lines
439 B
YAML
25 lines
439 B
YAML
version: '3'
|
|
|
|
services:
|
|
db:
|
|
container_name: v2board-db
|
|
image: mysql
|
|
environment:
|
|
- MYSQL_ALLOW_EMPTY_PASSWORD=true
|
|
volumes:
|
|
- ./dbdata:/var/lib/mysql
|
|
- ./install.sql:/install.sql
|
|
backend:
|
|
image: composer
|
|
working_dir: /root/backend
|
|
volumes:
|
|
- .:/root/backend
|
|
nginx:
|
|
image: nginx
|
|
volumes:
|
|
- .:/root/backend
|
|
- ./nginx:/etc/nginx/conf.d
|
|
ports:
|
|
- 8964:80
|
|
|