v2board/docker-compose.yml.example

26 lines
471 B
Plaintext
Raw Normal View History

2019-10-29 15:33:36 +08:00
version: '3'
services:
db:
image: mysql
2019-10-31 11:06:25 +08:00
command: --default-authentication-plugin=mysql_native_password
2019-10-29 15:33:36 +08:00
environment:
2019-10-31 11:06:25 +08:00
- MYSQL_ROOT_PASSWORD=123456
2019-10-29 15:33:36 +08:00
volumes:
- ./docker/mysql:/var/lib/mysql
- ./install.sql:/install.sql
phpfpm:
image: bitnami/php-fpm
volumes:
- .:/app
nginx:
image: nginx
depends_on:
- phpfpm
volumes:
- .:/app
- ./docker/nginx:/etc/nginx/conf.d
ports:
- 8964:80