fix wrong docker config

This commit is contained in:
Jack Goh
2018-07-18 15:37:40 +08:00
parent 9dee79c783
commit acc227c2ca
2 changed files with 10 additions and 8 deletions
+10 -8
View File
@@ -3,15 +3,17 @@ services:
# The Application
app:
build:
context: ./docker/mysql
working_dir: /var/www
build: .
ports:
- "8000:8000"
volumes:
- /var/www/storage
env_file: '.env'
environment:
- "DB_HOST=database"
- "REDIS_HOST=cache"
- .:/app
env_file: .env
working_dir: /app
depends_on:
- mysql
links:
- mysql
### Caddy Server #########################################
View File