add the frontend to docker-compose
This commit is contained in:
parent
1a8b9d9d24
commit
567c40f6cb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue