docker-compose: set restart to unless_stopped
All checks were successful
ansible-lint / gitleaks (push) Successful in -14m35s
ansible-lint / Ansible Lint (push) Successful in -14m8s

This commit is contained in:
Michael Grote 2024-10-23 18:21:54 +02:00
parent 089d4c0d13
commit 2641b5d090
12 changed files with 23 additions and 23 deletions

View file

@ -4,7 +4,7 @@ services:
runner: runner:
container_name: act-runner container_name: act-runner
image: gitea/act_runner image: gitea/act_runner
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
volumes: volumes:
- act_runner_data:/data - act_runner_data:/data

View file

@ -3,7 +3,7 @@ services:
grampsweb: &grampsweb grampsweb: &grampsweb
container_name: grampsweb container_name: grampsweb
image: ghcr.io/gramps-project/grampsweb:v24.8.0 # version image: ghcr.io/gramps-project/grampsweb:v24.8.0 # version
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
ports: ports:
- "6483:5000" # host:docker - "6483:5000" # host:docker
@ -45,7 +45,7 @@ services:
grampsweb_redis: grampsweb_redis:
image: redis:7.4.1-alpine image: redis:7.4.1-alpine
container_name: grampsweb_redis container_name: grampsweb_redis
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
healthcheck: healthcheck:
test: ["CMD", "redis-cli", "ping"] test: ["CMD", "redis-cli", "ping"]

View file

@ -2,7 +2,7 @@ services:
httpd-registry: httpd-registry:
container_name: "httpd-registry" container_name: "httpd-registry"
image: "registry.mgrote.net/httpd:latest" image: "registry.mgrote.net/httpd:latest"
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
volumes: volumes:
- uploads:/usr/local/apache2/htdocs/ - uploads:/usr/local/apache2/htdocs/
@ -13,7 +13,7 @@ services:
python-api-server: python-api-server:
container_name: httpd-api container_name: httpd-api
image: "registry.mgrote.net/python-api-server:latest" image: "registry.mgrote.net/python-api-server:latest"
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
ports: ports:
- "5040:5000" - "5040:5000"

View file

@ -3,7 +3,7 @@ services:
miniflux: miniflux:
container_name: "mf-frontend" container_name: "mf-frontend"
image: "ghcr.io/miniflux/miniflux:2.2.0" image: "ghcr.io/miniflux/miniflux:2.2.0"
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
depends_on: depends_on:
- mf-db17 - mf-db17
@ -35,7 +35,7 @@ services:
mf-db17: mf-db17:
container_name: "mf-db" container_name: "mf-db"
image: "postgres:17.0" image: "postgres:17.0"
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
environment: environment:
POSTGRES_USER: miniflux POSTGRES_USER: miniflux
@ -56,7 +56,7 @@ services:
container_name: mf-filter container_name: mf-filter
depends_on: depends_on:
- miniflux - miniflux
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
environment: environment:
TZ: Europe/Berlin TZ: Europe/Berlin

View file

@ -3,7 +3,7 @@ services:
navidrome-mg: navidrome-mg:
container_name: "navidrome-mg" container_name: "navidrome-mg"
image: "deluan/navidrome:0.53.3" image: "deluan/navidrome:0.53.3"
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
environment: environment:
ND_LOGLEVEL: info ND_LOGLEVEL: info

View file

@ -4,7 +4,7 @@ services:
image: "mariadb:11.5.2" image: "mariadb:11.5.2"
container_name: nextcloud-db container_name: nextcloud-db
command: --transaction-isolation=READ-COMMITTED --log-bin=ROW --innodb_read_only_compressed=OFF command: --transaction-isolation=READ-COMMITTED --log-bin=ROW --innodb_read_only_compressed=OFF
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
@ -44,7 +44,7 @@ services:
hostname: nextcloud-redis hostname: nextcloud-redis
networks: networks:
- intern - intern
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
command: "redis-server --requirepass {{ lookup('viczem.keepass.keepass', 'nextcloud_redis_host_password', 'password') }}" command: "redis-server --requirepass {{ lookup('viczem.keepass.keepass', 'nextcloud_redis_host_password', 'password') }}"
healthcheck: healthcheck:
@ -57,7 +57,7 @@ services:
nextcloud-cron: nextcloud-cron:
container_name: nextcloud-cron container_name: nextcloud-cron
image: "registry.mgrote.net/nextcloud-cronjob:latest" image: "registry.mgrote.net/nextcloud-cronjob:latest"
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
network_mode: none network_mode: none
volumes: volumes:
@ -71,7 +71,7 @@ services:
nextcloud-app: nextcloud-app:
image: "nextcloud:30.0.1" image: "nextcloud:30.0.1"
container_name: nextcloud-app container_name: nextcloud-app
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
depends_on: depends_on:
- nextcloud-db - nextcloud-db

View file

@ -2,7 +2,7 @@ services:
postfix: postfix:
image: "registry.mgrote.net/postfix:latest" image: "registry.mgrote.net/postfix:latest"
container_name: postfix container_name: postfix
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
ports: ports:
- 1025:25 - 1025:25

View file

@ -1,6 +1,6 @@
services: services:
oci-registry: oci-registry:
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
container_name: oci-registry container_name: oci-registry
image: "registry:2.8.3" image: "registry:2.8.3"
@ -56,7 +56,7 @@ services:
container_name: oci-registry-redis container_name: oci-registry-redis
networks: networks:
- intern - intern
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
environment: environment:
REDIS_PASSWORD: "{{ lookup('viczem.keepass.keepass', 'oci-registry-redis-pw', 'password') }}" REDIS_PASSWORD: "{{ lookup('viczem.keepass.keepass', 'oci-registry-redis-pw', 'password') }}"
@ -68,7 +68,7 @@ services:
retries: 3 retries: 3
oci-registry-ui: oci-registry-ui:
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
# url: registry.mgrote.net/ui/index.html # url: registry.mgrote.net/ui/index.html
image: "joxit/docker-registry-ui:2.5.7" image: "joxit/docker-registry-ui:2.5.7"

View file

@ -1,7 +1,7 @@
services: services:
routeros-config-export: routeros-config-export:
container_name: routeros-config-export container_name: routeros-config-export
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
image: "registry.mgrote.net/routeros-config-export:latest" image: "registry.mgrote.net/routeros-config-export:latest"
volumes: volumes:

View file

@ -3,7 +3,7 @@ services:
traefik: traefik:
container_name: traefik container_name: traefik
image: "traefik:v3.1.6" image: "traefik:v3.1.6"
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
@ -27,7 +27,7 @@ services:
######## nforwardauth ######## ######## nforwardauth ########
nforwardauth: nforwardauth:
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
image: "nosduco/nforwardauth:v1.4.0" image: "nosduco/nforwardauth:v1.4.0"
container_name: traefik-nforwardauth container_name: traefik-nforwardauth

View file

@ -26,7 +26,7 @@ services:
- 8880:8880 #optional - 8880:8880 #optional
- 6789:6789 #optional - 6789:6789 #optional
- 5514:5514/udp #optional - 5514:5514/udp #optional
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
networks: networks:
- postfix - postfix
@ -49,7 +49,7 @@ services:
container_name: unifi-db container_name: unifi-db
volumes: volumes:
- db-data:/data/db - db-data:/data/db
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
environment: environment:
MARIADB_AUTO_UPGRADE: "1" MARIADB_AUTO_UPGRADE: "1"

View file

@ -2,7 +2,7 @@ services:
wiki-webserver: wiki-webserver:
container_name: wiki-webserver container_name: wiki-webserver
image: "registry.mgrote.net/httpd:latest" image: "registry.mgrote.net/httpd:latest"
restart: always restart: unless-stopped
pull_policy: missing pull_policy: missing
networks: networks:
- traefik - traefik