-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathdocker-compose.wisp-dev.yml
More file actions
40 lines (39 loc) · 1.25 KB
/
Copy pathdocker-compose.wisp-dev.yml
File metadata and controls
40 lines (39 loc) · 1.25 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
services:
chen-backend:
# Development runs Wisp as a sibling service. Start Java directly so the
# released Wisp binary bundled in the Chen image is not used.
command:
- java
- -Dfile.encoding=utf-8
- -XX:+ExitOnOutOfMemoryError
- -jar
- /opt/chen/chen.jar
- --spring.config.additional-location=optional:file:/opt/chen/config/
- --spring.profiles.active=dev
environment:
EXECUTE_PROGRAM: ""
GRPC_CLIENT_WISP_ADDRESS: static://wisp:9090
depends_on:
wisp:
# Arbitrary Wisp images do not necessarily provide a healthcheck.
condition: service_started
cpus: ${CHEN_CPUS:-2.0}
mem_limit: ${CHEN_MEMORY_LIMIT:-2g}
wisp:
image: ${WISP_IMAGE:-ghcr.io/jumpserver/wisp:latest}
pull_policy: ${WISP_PULL_POLICY:-missing}
container_name: chen-wisp-dev
environment:
COMPONENT_NAME: chen
CORE_HOST: ${CORE_HOST:-http://host.docker.internal:8080}
BOOTSTRAP_TOKEN: ${BOOTSTRAP_TOKEN:-PleaseChangeMe}
LOG_LEVEL: ${LOG_LEVEL:-INFO}
WORK_DIR: /opt/wisp
EXECUTE_PROGRAM: ""
volumes:
- ./data:/opt/wisp/data
expose:
- "9090"
restart: unless-stopped
cpus: ${WISP_CPUS:-1.0}
mem_limit: ${WISP_MEMORY_LIMIT:-512m}