-
Notifications
You must be signed in to change notification settings - Fork 241
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (46 loc) · 1.32 KB
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (46 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
services:
koko:
build:
context: .
dockerfile: Dockerfile
args:
VERSION: ${VERSION:-dev}
image: ${KOKO_IMAGE:-koko:dev}
privileged: true
environment:
CORE_HOST: ${CORE_HOST:-http://host.docker.internal:8080}
BOOTSTRAP_TOKEN: ${BOOTSTRAP_TOKEN:-PleaseChangeMe}
LOG_LEVEL: ${LOG_LEVEL:-DEBUG}
KOKO_PRIVILEGED: ${KOKO_PRIVILEGED:-true}
HTTPD_PORT: 5050
WEB_PROXY_ENABLED: ${WEB_PROXY_ENABLED:-true}
WEB_PROXY_BIND_HOST: 0.0.0.0
WEB_PROXY_PORT: 5001
WEB_PROXY_RECORDING_ENABLED: ${WEB_PROXY_RECORDING_ENABLED:-true}
WEB_PROXY_FFMPEG_PATH: ${WEB_PROXY_FFMPEG_PATH:-ffmpeg}
GUA_HOST: ${GUA_HOST:-guacd}
GUA_PORT: ${GUA_PORT:-4822}
depends_on:
- guacd
extra_hosts:
- host.docker.internal:host-gateway
ports:
- ${KOKO_SSH_PORT:-2222}:2222
- ${KOKO_HTTP_PORT:-5050}:5050
- ${KOKO_WEB_PROXY_PORT:-5001}:5001
volumes:
- ./data:/opt/koko/data
healthcheck:
test: [CMD, check, http://127.0.0.1:5050/koko/health/]
interval: 10s
timeout: 3s
retries: 10
start_period: 20s
guacd:
image: jumpserver/guacd:1.4.0
environment:
GUACD_LOG_LEVEL: ${GUACD_LOG_LEVEL:-debug}
restart: always
user: root
volumes:
- ./data:/opt/koko/data:rw