update the docker-compose files

This commit is contained in:
Andreas Zweili 2020-11-27 23:27:04 +01:00
parent 31bbf41d6e
commit 08f5c98771
2 changed files with 8 additions and 6 deletions

View File

@ -12,7 +12,7 @@ services:
volumes:
- db_data:/var/lib/postgresql/data/
web:
backend:
build: .
volumes:
- .:/code
@ -23,11 +23,11 @@ services:
depends_on:
- db
nginx:
build: ./nginx
frontend:
build: frontend/.
depends_on:
- backend
ports:
- 80:80
depends_on:
- web
volumes:
- ./static:/home/app/web/static

View File

@ -22,5 +22,7 @@ services:
frontend:
build: frontend/.
depends_on:
- backend
ports:
- 8080:80
- 80:80