Skip to content
Snippets Groups Projects
Verified Commit 333a5507 authored by David Beniamine's avatar David Beniamine
Browse files

Wait for kasm up and running to start front

parent 41940e57
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,10 @@ services:
context: ./docker/front
volumes:
- homedir:/kasm
depends_on:
kasm:
condition: service_healthy
restart: true
kasm:
build:
context: ./docker/kasm
......@@ -21,6 +25,12 @@ services:
- ANACONDA=${ANACONDA}
- KASM_USER=${VNC_USER}
- VNCOPTIONS=-PreferBandwidth -DynamicQualityMin=4 -DynamicQualityMax=7 -DLP_ClipDelay=0 -select-de manual -UnixRelay printer:/tmp/printer -allowoverride AcceptPointerEvents -disableBasicAuth
healthcheck:
test: ["CMD-SHELL", "test $(kasmvncserver -list | grep '^:' |wc -l) -eq 1"]
interval: 10s
retries: 5
start_period: 30s
timeout: 10s
volumes:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment