-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (28 loc) · 1.48 KB
/
Copy pathdocker-compose.yml
File metadata and controls
29 lines (28 loc) · 1.48 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
# IRIS for Health Community Edition -- the learning sandbox.
#
# NOTE the image name. `intersystems/iris-community` is plain IRIS and does NOT
# ship EnsLib.HL7 or the HL7 v2 schema library. Only the *for Health* image does.
# Picking the wrong one here is the classic way to lose an afternoon.
#
# Community Edition is licensed for development and learning only.
services:
iris:
image: intersystems/irishealth-community:latest-em
container_name: iris-lab
ports:
# Host 42773, not 52773. Windows/Hyper-V reserves 52689-52788 for dynamic
# ports, so binding the obvious one fails with "access permissions" long
# before IRIS gets a chance to start. Check yours with:
# netsh int ipv4 show excludedportrange protocol=tcp
- "42773:52773" # Management Portal / CSP
- "1972:1972" # superserver (VS Code ObjectScript, JDBC)
volumes:
- ./lab:/lab # your editable message + transform + output
- ./src:/src # the harness class, reloaded on every run
# Deliberately NO durable %SYS volume. IRIS runs as uid 51773 (irisowner) and
# a fresh named volume is owned by root, so IRIS fails at boot with
# "Cannot create target: /durable/iris/". Fixing that needs a chown init
# step, which is a lot of machinery to persist a sandbox that should be
# disposable. Everything you care about lives in ./lab and ./src on the host;
# `docker compose down && up -d` gives you a clean instance in seconds.
restart: unless-stopped