Rename docker-compose.yml.example -> docker-compose.yaml.example

This commit is contained in:
Birkhoff Lee
2019-12-04 14:54:28 +08:00
parent 7fe9a4c2a2
commit 14d71fedb3

View File

@ -6,10 +6,11 @@ services:
image: nginx
depends_on:
- php
expose:
- 80
ports:
- 8080:80
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- app:/app
restart: always
php:
@ -18,6 +19,8 @@ services:
- db
expose:
- 9000
volumes:
- app:/app
restart: always
db:
@ -28,3 +31,6 @@ services:
MYSQL_PASSWORD: crater
MYSQL_DATABASE: crater
MYSQL_ROOT_PASSWORD: crater
volumes:
app: