update the docker-compose files
This commit is contained in:
parent
31bbf41d6e
commit
08f5c98771
|
@ -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
|
||||
|
|
|
@ -22,5 +22,7 @@ services:
|
|||
|
||||
frontend:
|
||||
build: frontend/.
|
||||
depends_on:
|
||||
- backend
|
||||
ports:
|
||||
- 8080:80
|
||||
- 80:80
|
||||
|
|
Loading…
Reference in New Issue