docker-compose: set restart to unless_stopped
This commit is contained in:
parent
089d4c0d13
commit
2641b5d090
12 changed files with 23 additions and 23 deletions
|
@ -4,7 +4,7 @@ services:
|
|||
runner:
|
||||
container_name: act-runner
|
||||
image: gitea/act_runner
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
volumes:
|
||||
- act_runner_data:/data
|
||||
|
|
|
@ -3,7 +3,7 @@ services:
|
|||
grampsweb: &grampsweb
|
||||
container_name: grampsweb
|
||||
image: ghcr.io/gramps-project/grampsweb:v24.8.0 # version
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
ports:
|
||||
- "6483:5000" # host:docker
|
||||
|
@ -45,7 +45,7 @@ services:
|
|||
grampsweb_redis:
|
||||
image: redis:7.4.1-alpine
|
||||
container_name: grampsweb_redis
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
|
|
|
@ -2,7 +2,7 @@ services:
|
|||
httpd-registry:
|
||||
container_name: "httpd-registry"
|
||||
image: "registry.mgrote.net/httpd:latest"
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
volumes:
|
||||
- uploads:/usr/local/apache2/htdocs/
|
||||
|
@ -13,7 +13,7 @@ services:
|
|||
python-api-server:
|
||||
container_name: httpd-api
|
||||
image: "registry.mgrote.net/python-api-server:latest"
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
ports:
|
||||
- "5040:5000"
|
||||
|
|
|
@ -3,7 +3,7 @@ services:
|
|||
miniflux:
|
||||
container_name: "mf-frontend"
|
||||
image: "ghcr.io/miniflux/miniflux:2.2.0"
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
depends_on:
|
||||
- mf-db17
|
||||
|
@ -35,7 +35,7 @@ services:
|
|||
mf-db17:
|
||||
container_name: "mf-db"
|
||||
image: "postgres:17.0"
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
environment:
|
||||
POSTGRES_USER: miniflux
|
||||
|
@ -56,7 +56,7 @@ services:
|
|||
container_name: mf-filter
|
||||
depends_on:
|
||||
- miniflux
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
environment:
|
||||
TZ: Europe/Berlin
|
||||
|
|
|
@ -3,7 +3,7 @@ services:
|
|||
navidrome-mg:
|
||||
container_name: "navidrome-mg"
|
||||
image: "deluan/navidrome:0.53.3"
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
environment:
|
||||
ND_LOGLEVEL: info
|
||||
|
|
|
@ -4,7 +4,7 @@ services:
|
|||
image: "mariadb:11.5.2"
|
||||
container_name: nextcloud-db
|
||||
command: --transaction-isolation=READ-COMMITTED --log-bin=ROW --innodb_read_only_compressed=OFF
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
@ -44,7 +44,7 @@ services:
|
|||
hostname: nextcloud-redis
|
||||
networks:
|
||||
- intern
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
command: "redis-server --requirepass {{ lookup('viczem.keepass.keepass', 'nextcloud_redis_host_password', 'password') }}"
|
||||
healthcheck:
|
||||
|
@ -57,7 +57,7 @@ services:
|
|||
nextcloud-cron:
|
||||
container_name: nextcloud-cron
|
||||
image: "registry.mgrote.net/nextcloud-cronjob:latest"
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
network_mode: none
|
||||
volumes:
|
||||
|
@ -71,7 +71,7 @@ services:
|
|||
nextcloud-app:
|
||||
image: "nextcloud:30.0.1"
|
||||
container_name: nextcloud-app
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
depends_on:
|
||||
- nextcloud-db
|
||||
|
|
|
@ -2,7 +2,7 @@ services:
|
|||
postfix:
|
||||
image: "registry.mgrote.net/postfix:latest"
|
||||
container_name: postfix
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
ports:
|
||||
- 1025:25
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
services:
|
||||
oci-registry:
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
container_name: oci-registry
|
||||
image: "registry:2.8.3"
|
||||
|
@ -56,7 +56,7 @@ services:
|
|||
container_name: oci-registry-redis
|
||||
networks:
|
||||
- intern
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
environment:
|
||||
REDIS_PASSWORD: "{{ lookup('viczem.keepass.keepass', 'oci-registry-redis-pw', 'password') }}"
|
||||
|
@ -68,7 +68,7 @@ services:
|
|||
retries: 3
|
||||
|
||||
oci-registry-ui:
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
# url: registry.mgrote.net/ui/index.html
|
||||
image: "joxit/docker-registry-ui:2.5.7"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
services:
|
||||
routeros-config-export:
|
||||
container_name: routeros-config-export
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
image: "registry.mgrote.net/routeros-config-export:latest"
|
||||
volumes:
|
||||
|
|
|
@ -3,7 +3,7 @@ services:
|
|||
traefik:
|
||||
container_name: traefik
|
||||
image: "traefik:v3.1.6"
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
|
@ -27,7 +27,7 @@ services:
|
|||
|
||||
######## nforwardauth ########
|
||||
nforwardauth:
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
image: "nosduco/nforwardauth:v1.4.0"
|
||||
container_name: traefik-nforwardauth
|
||||
|
|
|
@ -26,7 +26,7 @@ services:
|
|||
- 8880:8880 #optional
|
||||
- 6789:6789 #optional
|
||||
- 5514:5514/udp #optional
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
networks:
|
||||
- postfix
|
||||
|
@ -49,7 +49,7 @@ services:
|
|||
container_name: unifi-db
|
||||
volumes:
|
||||
- db-data:/data/db
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
environment:
|
||||
MARIADB_AUTO_UPGRADE: "1"
|
||||
|
|
|
@ -2,7 +2,7 @@ services:
|
|||
wiki-webserver:
|
||||
container_name: wiki-webserver
|
||||
image: "registry.mgrote.net/httpd:latest"
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
pull_policy: missing
|
||||
networks:
|
||||
- traefik
|
||||
|
|
Loading…
Reference in a new issue