add restarts
This commit is contained in:
parent
8f99dbfcc3
commit
d2c4b9e6d0
|
@ -1,6 +1,7 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
|
restart: always
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
@ -14,10 +15,12 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- homepage
|
- homepage
|
||||||
redis:
|
redis:
|
||||||
|
restart: always
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
networks:
|
networks:
|
||||||
- homepage
|
- homepage
|
||||||
db:
|
db:
|
||||||
|
restart: always
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: '${DB_PASSWORD}'
|
POSTGRES_PASSWORD: '${DB_PASSWORD}'
|
||||||
|
|
Loading…
Reference in New Issue