update the docker-compose files
This commit is contained in:
parent
31bbf41d6e
commit
08f5c98771
|
@ -12,7 +12,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- db_data:/var/lib/postgresql/data/
|
- db_data:/var/lib/postgresql/data/
|
||||||
|
|
||||||
web:
|
backend:
|
||||||
build: .
|
build: .
|
||||||
volumes:
|
volumes:
|
||||||
- .:/code
|
- .:/code
|
||||||
|
@ -23,11 +23,11 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
||||||
nginx:
|
frontend:
|
||||||
build: ./nginx
|
build: frontend/.
|
||||||
|
depends_on:
|
||||||
|
- backend
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
depends_on:
|
|
||||||
- web
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./static:/home/app/web/static
|
- ./static:/home/app/web/static
|
||||||
|
|
|
@ -22,5 +22,7 @@ services:
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
build: frontend/.
|
build: frontend/.
|
||||||
|
depends_on:
|
||||||
|
- backend
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 80:80
|
||||||
|
|
Loading…
Reference in New Issue