add restarts

This commit is contained in:
b1ek 2023-03-12 12:22:48 +10:00
parent 8f99dbfcc3
commit d2c4b9e6d0
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 3 additions and 0 deletions

View File

@ -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}'