feat: Standardise to always restart

This commit is contained in:
PorridgePi
2022-09-04 12:52:28 +08:00
parent d920e833ee
commit 8b9d2d2aee
3 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ services:
flame: flame:
image: pawelmalak/flame:multiarch image: pawelmalak/flame:multiarch
container_name: flame container_name: flame
restart: unless-stopped restart: always
environment: environment:
- PASSWORD=${FLAME_PASSWORD} - PASSWORD=${FLAME_PASSWORD}
volumes: volumes:

View File

@@ -8,7 +8,7 @@ services:
kutt: kutt:
image: kutt/kutt image: kutt/kutt
container_name: kutt container_name: kutt
restart: unless-stopped restart: always
depends_on: depends_on:
- postgres - postgres
- redis - redis
@@ -36,7 +36,7 @@ services:
redis: redis:
image: redis:6.0-alpine image: redis:6.0-alpine
restart: unless-stopped restart: always
volumes: volumes:
- redis_data:/data - redis_data:/data
networks: networks:
@@ -44,7 +44,7 @@ services:
postgres: postgres:
image: postgres:12-alpine image: postgres:12-alpine
restart: unless-stopped restart: always
environment: environment:
POSTGRES_USER: user POSTGRES_USER: user
POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_PASSWORD: ${DB_PASSWORD}

View File

@@ -11,7 +11,7 @@ services:
pihole: pihole:
image: pihole/pihole:latest image: pihole/pihole:latest
container_name: pihole container_name: pihole
restart: unless-stopped restart: always
ports: ports:
- "53:53/tcp" - "53:53/tcp"
- "53:53/udp" - "53:53/udp"
@@ -32,7 +32,7 @@ services:
unbound: unbound:
image: mvance/unbound-rpi:latest image: mvance/unbound-rpi:latest
container_name: unbound container_name: unbound
restart: unless-stopped restart: always
volumes: volumes:
- "./unbound:/opt/unbound/etc/unbound" - "./unbound:/opt/unbound/etc/unbound"
networks: networks: