restart always to unless-stopped

This commit is contained in:
2025-08-22 14:03:44 -03:00
parent 81f8187a31
commit a9cce165e1
7 changed files with 29 additions and 30 deletions

View File

@@ -31,7 +31,7 @@ services:
#command: tunnel login
#command: tunnel create tunnel_ccalifice
command: tunnel --no-autoupdate run
restart: always
restart: unless-stopped
networks:
- caddy-net

View File

@@ -13,7 +13,7 @@ services:
container_name: firefly_iii_core
networks:
- firefly_iii
restart: always
restart: unless-stopped
volumes:
- ./firefly_iii_upload:/var/www/html/storage/upload
env_file: .env
@@ -27,7 +27,7 @@ services:
container_name: firefly_iii_db
networks:
- firefly_iii
restart: always
restart: unless-stopped
env_file: .db.env
volumes:
- ./firefly_iii_db:/var/lib/mysql
@@ -35,7 +35,7 @@ services:
importer:
image: fireflyiii/data-importer:latest
hostname: importer
restart: always
restart: unless-stopped
container_name: firefly_iii_importer
networks:
- firefly_iii
@@ -48,7 +48,7 @@ services:
importer_mor:
image: fireflyiii/data-importer:latest
hostname: importer
restart: always
restart: unless-stopped
container_name: firefly_iii_importer_mor
networks:
- firefly_iii
@@ -65,7 +65,7 @@ services:
#
image: alpine
container_name: firefly_iii_cron
restart: always
restart: unless-stopped
command: sh -c "echo \"0 3 * * * wget -qO- http://app:8080/api/v1/cron/REPLACEME\" | crontab - && crond -f -L /dev/stdout"
networks:
- firefly_iii

View File

@@ -14,7 +14,7 @@ services:
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
restart: always
restart: unless-stopped
networks:
- gitea
volumes:
@@ -29,7 +29,7 @@ services:
db:
image: docker.io/library/postgres:14
restart: always
restart: unless-stopped
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea

View File

@@ -102,7 +102,7 @@ services:
image: guacamole/guacd
networks:
- guacnetwork_compose
restart: always
restart: unless-stopped
volumes:
- ./drive:/drive:rw
- ./record:/record:rw
@@ -117,7 +117,7 @@ services:
image: postgres:15.2-alpine
networks:
- guacnetwork_compose
restart: always
restart: unless-stopped
volumes:
- ./init:/docker-entrypoint-initdb.d:z
- ./data:/var/lib/postgresql/data:Z
@@ -144,13 +144,13 @@ services:
- 8181:8080/tcp # Guacamole is on :8080/guacamole, not /.
## enable next line when using nginx
# - 8080/tcp
restart: always
restart: unless-stopped
########### optional ##############
# nginx
# nginx:
# container_name: nginx_guacamole_compose
# restart: always
# restart: unless-stopped
# image: nginx:latest
# volumes:
# - ./nginx/templates:/etc/nginx/templates:ro

View File

@@ -14,7 +14,7 @@ services:
depends_on:
- redis
- database
restart: always
restart: unless-stopped
immich-machine-learning:
container_name: immich_machine_learning
@@ -23,14 +23,14 @@ services:
- ./model-cache:/cache
env_file:
- .env
restart: always
restart: unless-stopped
redis:
container_name: immich_redis
image: docker.io/valkey/valkey:8-bookworm@sha256:42cba146593a5ea9a622002c1b7cba5da7be248650cbb64ecb9c6c33d29794b1
healthcheck:
test: redis-cli ping || exit 1
restart: always
restart: unless-stopped
database:
container_name: immich_postgres
@@ -43,4 +43,4 @@ services:
POSTGRES_DB: ${DB_DATABASE_NAME}
volumes:
- ./pgdata:/var/lib/postgresql/data
restart: always
restart: unless-stopped

View File

@@ -44,7 +44,7 @@ services:
#image: nicolargo/glances:3.4.0.5-full
image: nicolargo/glances:latest-full
container_name: glances
restart: always
restart: unless-stopped
pid: host
ports:
- 61208:61208
@@ -64,7 +64,7 @@ services:
- ./uptime-kuma/uptime-kuma-data:/app/data
ports:
- 3001:3001 # <Host Port>:<Container Port>
restart: always
restart: unless-stopped
environment:
- TZ="America/Sao_Paulo"
@@ -203,5 +203,7 @@ networks:
external: true
name: caddy-net
monitoring:
name: monitoring-net
grafana:
name: grafana-net

View File

@@ -2,17 +2,14 @@
# For configuration options and examples, please see:
# https://gethomepage.dev/latest/configs/docker/
arr-docker:
host: 192.168.1.201
port: 2375
#arr-docker:
# host: 192.168.1.201
# port: 2375
services-docker:
host: 192.168.1.202
port: 2375
#services-docker:
# host: 192.168.1.202
# port: 2375
morganna-docker:
host: 192.168.1.204
port: 2375
pi-docker:
socket: /var/run/docker.sock
#morganna-docker:
# host: 192.168.1.204
# port: 2375