add restart policy to docker-compose.yml
This commit is contained in:
parent
4caa216548
commit
34906a0718
|
|
@ -2,6 +2,7 @@ version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
django:
|
django:
|
||||||
|
restart: always
|
||||||
build: ../../
|
build: ../../
|
||||||
expose:
|
expose:
|
||||||
- 8000
|
- 8000
|
||||||
|
|
@ -13,6 +14,7 @@ services:
|
||||||
- production.secrets.env
|
- production.secrets.env
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
|
restart: always
|
||||||
build: ../nginx
|
build: ../nginx
|
||||||
ports:
|
ports:
|
||||||
- 8042:80
|
- 8042:80
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue