-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathdocker-compose-xpack.yml
48 lines (46 loc) · 1.11 KB
/
docker-compose-xpack.yml
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
48
Version: '2.4'
services:
omnidb:
image: registry.fit2cloud.com/jumpserver/omnidb:${Version}
container_name: jms_omnidb
restart: always
environment:
CORE_HOST: http://core:8080
BOOTSTRAP_TOKEN: $BOOTSTRAP_TOKEN
LOG_LEVEL: $LOG_LEVEL
depends_on:
core:
condition: service_healthy
healthcheck:
test: "ps axu | grep -v 'grep' | grep 'omnidb'"
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
volumes:
- ${VOLUME_DIR}/omnidb/data:/opt/omnidb/data
networks:
- net
xrdp:
image: registry.fit2cloud.com/jumpserver/xrdp:${Version}
container_name: jms_xrdp
restart: always
environment:
CORE_HOST: http://core:8080
BOOTSTRAP_TOKEN: $BOOTSTRAP_TOKEN
LOG_LEVEL: $LOG_LEVEL
depends_on:
core:
condition: service_healthy
healthcheck:
test: "ps axu | grep -v 'grep' | grep 'xrdp'"
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
ports:
- 3389:3389
volumes:
- ${VOLUME_DIR}/xrdp/data:/opt/xrdp/data
networks:
- net