Add healthcheck
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
guacd:
|
||||
image: "guacamole/guacd"
|
||||
container_name: "Guacd"
|
||||
container_name: "guacd"
|
||||
hostname: "guacd"
|
||||
restart: "unless-stopped"
|
||||
environment:
|
||||
@@ -12,17 +12,19 @@ services:
|
||||
guacamole:
|
||||
image: "guacamole/guacamole"
|
||||
container_name: "Guacamole"
|
||||
hostname: "guacd"
|
||||
hostname: "guacamole"
|
||||
restart: "unless-stopped"
|
||||
depends_on:
|
||||
- "guacd"
|
||||
healthcheck:
|
||||
test: "curl -f http://localhost:8080/ || exit 1"
|
||||
environment:
|
||||
GUACD_HOSTNAME: "guacd"
|
||||
GUACD_PORT: "4822"
|
||||
POSTGRESQL_HOSTNAME: "${DB_HOST}"
|
||||
POSTGRESQL_DATABASE: "${DB_BASE}"
|
||||
POSTGRESQL_USER: "${DB_USER}"
|
||||
POSTGRESQL_PASSWORD: "${DB_PORT}"
|
||||
POSTGRESQL_PASSWORD: "${DB_PASS}"
|
||||
ports:
|
||||
- "10.0.0.1:8080:8080"
|
||||
networks:
|
||||
@@ -31,3 +33,4 @@ services:
|
||||
networks:
|
||||
guacamole:
|
||||
name: "guacamole"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user