add the frontend to docker-compose

This commit is contained in:
Andreas Zweili 2020-11-27 19:31:24 +01:00
parent 1a8b9d9d24
commit 567c40f6cb
1 changed files with 7 additions and 2 deletions

View File

@ -9,7 +9,7 @@ services:
volumes:
- ./db_data:/var/lib/postgresql/data/
web:
backend:
image: nebucatnetzer/network_inventory
volumes:
- .:/code
@ -20,11 +20,16 @@ services:
depends_on:
- db
frontend:
build: frontend/.
ports:
- 8080:8080
nginx:
build: ./nginx
ports:
- 80:80
depends_on:
- web
- backend
volumes:
- ./static:/home/app/web/static