restart always to unless-stopped
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user