update docker

This commit is contained in:
root 2019-10-29 14:58:15 +08:00
parent 5c7001bbf4
commit 80c3374cd1
4 changed files with 7 additions and 2 deletions

View File

@ -7,7 +7,7 @@ services:
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=true
volumes:
- ./dbdata:/var/lib/mysql
- ./docker/mysql:/var/lib/mysql
- ./install.sql:/install.sql
phpfpm:
image: bitnami/php-fpm
@ -19,7 +19,7 @@ services:
- phpfpm
volumes:
- .:/app
- ./nginx:/etc/nginx/conf.d
- ./docker/nginx:/etc/nginx/conf.d
ports:
- 8964:80

2
docker/mysql/.gitignore vendored Executable file
View File

@ -0,0 +1,2 @@
*
!.gitignore

3
docker/nginx/.gitignore vendored Executable file
View File

@ -0,0 +1,3 @@
*
!.gitignore
!nginx.conf