USe unless-stopped instead of always

This commit is contained in:
Stefan Bethke 2024-09-08 17:45:00 +02:00
parent 475a758f83
commit dfbc8e58a9
6 changed files with 15 additions and 15 deletions

View file

@ -10,7 +10,7 @@
services:
uptime-kuma:
image: louislam/uptime-kuma:1
restart: always
restart: unless-stopped
volumes:
- "./uptime-kuma-data:/app/data"
ports:

View file

@ -15,7 +15,7 @@ services:
- database:/var/lib/mysql
networks:
backend:
restart: always
restart: unless-stopped
app:
image: docker.io/library/wordpress:6-php8.1
@ -32,7 +32,7 @@ services:
networks:
backend:
frontend:
restart: always
restart: unless-stopped
depends_on:
- database

View file

@ -10,7 +10,7 @@ services:
- database:/var/lib/postgresql/data
networks:
backend:
restart: always
restart: unless-stopped
redis:
image: docker.io/redis:7
@ -20,7 +20,7 @@ services:
- redis:/rdata
# run redis-server, save a snapshot every 60 seconds if there has been at least 1 write
command: ["redis-server", "--save", "60", "1"]
restart: always
restart: unless-stopped
networks:
backend:
@ -32,7 +32,7 @@ services:
volumes:
- ./configs/pretix.cfg:/etc/pretix/pretix.cfg
- pretix:/data
restart: always
restart: unless-stopped
networks:
backend:
frontend:
@ -41,7 +41,7 @@ services:
image: gitlab-cr.hamburg.ccc.de/ccchh/hackertours/hackertours:latest
ports:
- "8888:80"
restart: always
restart: unless-stopped
networks:
frontend:

View file

@ -47,7 +47,7 @@ services:
db:
image: postgres:15.2
restart: always
restart: unless-stopped
networks:
- keycloak
volumes:
@ -60,7 +60,7 @@ services:
id-invite-web:
image: git.hamburg.ccc.de/ccchh/id-invite/id-invite:latest
command: web
restart: always
restart: unless-stopped
networks:
- web
- email
@ -86,7 +86,7 @@ services:
id-invite-email:
image: git.hamburg.ccc.de/ccchh/id-invite/id-invite:latest
command: email
restart: always
restart: unless-stopped
networks:
- email
- web
@ -101,7 +101,7 @@ services:
id-invite-keycloak:
image: git.hamburg.ccc.de/ccchh/id-invite/id-invite:latest
command: keycloak
restart: always
restart: unless-stopped
networks:
- keycloak
environment:

View file

@ -10,7 +10,7 @@ services:
- "POSTGRES_DB=hedgedoc"
volumes:
- database:/var/lib/postgresql/data
restart: always
restart: unless-stopped
app:
#image: quay.io/hedgedoc/hedgedoc:1.9.9
@ -42,7 +42,7 @@ services:
- uploads:/hedgedoc/public/uploads
ports:
- "127.0.0.1:3000:3000"
restart: always
restart: unless-stopped
depends_on:
- database

View file

@ -10,7 +10,7 @@ services:
- "POSTGRES_DB=pretalx"
volumes:
- database:/var/lib/postgresql/data
restart: always
restart: unless-stopped
redis:
image: redis:latest
@ -20,7 +20,7 @@ services:
static:
image: docker.io/library/nginx
restart: always
restart: unless-stopped
volumes:
- public:/usr/share/nginx/html
ports: