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

@@ -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