USe unless-stopped instead of always
This commit is contained in:
parent
475a758f83
commit
dfbc8e58a9
|
@ -10,7 +10,7 @@
|
|||
services:
|
||||
uptime-kuma:
|
||||
image: louislam/uptime-kuma:1
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- "./uptime-kuma-data:/app/data"
|
||||
ports:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue