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