add restart always to all applications

This commit is contained in:
2024-05-31 15:50:42 -05:00
parent 45b51a603a
commit 363057dada
11 changed files with 17 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ services:
traefik: null
ports:
- 2222:22
restart: always
volumes:
- gitea_data:/data
- /etc/timezone:/etc/timezone:ro
@@ -29,6 +30,7 @@ services:
image: docker.io/postgres:16
networks:
traefik: null
restart: always
volumes:
- postgresql:/var/lib/postgresql/data

View File

@@ -16,7 +16,8 @@ services:
networks:
traefik: null
ports:
- 2222:22
- 2222:22
restart: always
volumes:
- gitea_data:/data
- /etc/timezone:/etc/timezone:ro
@@ -29,6 +30,7 @@ services:
image: docker.io/postgres:16
networks:
traefik: null
restart: always
volumes:
- postgresql:/var/lib/postgresql/data

View File

@@ -34,4 +34,4 @@ volumes:
driver_opts:
type: none
o: bind
device: /opt/containers/technitium/config
device: /opt/containers/technitium/config

View File

@@ -4,3 +4,4 @@ services:
env_file:
- .env
image: docker.io/oznu/cloudflare-ddns:latest
restart: always

View File

@@ -17,6 +17,7 @@ services:
traefik: null
ports:
- 2222:22
restart: always
volumes:
- gitea_data:/data
- /etc/timezone:/etc/timezone:ro
@@ -29,6 +30,7 @@ services:
image: docker.io/postgres:16
networks:
traefik: null
restart: always
volumes:
- postgresql:/var/lib/postgresql/data

View File

@@ -11,6 +11,7 @@ services:
traefik.http.services.homepage.loadbalancer.server.port: 3000
networks:
traefik: null
restart: always
volumes:
- config:/app/config
- images:/app/public/images
@@ -25,6 +26,7 @@ services:
networks:
traefik: null
privileged: true
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro

View File

@@ -18,6 +18,7 @@ services:
- 53:53/udp
- 8080:8080
privileged: true
restart: always
volumes:
- config:/etc/pihole
- dnsmasq:/etc/dnsmasq.d
@@ -32,6 +33,7 @@ services:
image: docker.io/ekofr/pihole-exporter:latest
networks:
traefik: null
restart: always
networks:
traefik:

View File

@@ -5,6 +5,7 @@ services:
ports:
- 9001:9001
privileged: true
restart: always
volumes:
- /var/lib/docker/volumes:/var/lib/docker/volumes
- /var/run/docker.sock:/var/run/docker.sock

View File

@@ -10,6 +10,7 @@ services:
image: docker.io/tailscale/tailscale:stable
network_mode: host
privileged: true
restart: always
volumes:
- tailscale:/var/lib/tailscale
- /dev/net/tun:/dev/net/tun

View File

@@ -19,6 +19,7 @@ services:
- 80:80
- 443:443
privileged: true
restart: always
volumes:
- config:/etc/traefik
- log:/log

View File

@@ -5,5 +5,6 @@ services:
- .env
image: docker.io/containrrr/watchtower:latest
privileged: true
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock