-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 1.4 KB
/
docker-compose.yml
File metadata and controls
39 lines (37 loc) · 1.4 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
version: "3.8"
x-logging: &local-logging
driver: "local"
options:
max-size: "20m"
max-file: "50"
services:
openelis-analyzer-bridge:
container_name: openelis-analyzer-bridge
image: itechuw/openelis-analyzer-bridge:latest
pull_policy: always
ports:
- "8442:8443" # HTTP API endpoint (HTTPS when TLS is configured)
- "12000:12001" # ASTM LIS1-A listener
- "12010:12011" # ASTM E1381-95 listener
- "2575:2575" # MLLP HL7 listener (concurrent connections via HAPI SimpleServer)
volumes:
- ./configuration.yml:/app/configuration.yml
# File watcher directories (uncomment if bridge.file.enabled=true)
# - /path/to/analyzer-import:/mnt/analyzer-import:ro
# - /path/to/analyzer-archive:/mnt/analyzer-archive
# Serial device passthrough (uncomment if org.itech.ahb.serial.enabled=true)
# devices:
# - /dev/ttyUSB0:/dev/ttyUSB0
environment:
LOGGING_LEVEL_ORG_ITECH: INFO
# Local compose defaults to dev so default password is allowed (prod fails fast on changeme).
SPRING_PROFILES_ACTIVE: dev
# Production: use profile prod and set BRIDGE_AUTH_PASSWORD (or bridge.security.password).
# BRIDGE_AUTH_PASSWORD: ${BRIDGE_AUTH_PASSWORD}
logging: *local-logging
healthcheck:
test: ["CMD", "/app/healthcheck.sh"]
timeout: 10s
interval: 30s
retries: 3
start_period: 2m