-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (47 loc) · 1.35 KB
/
docker-compose.yml
File metadata and controls
50 lines (47 loc) · 1.35 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
48
49
50
# IntegratedML Custom Models - Simplified Docker Setup
# IRIS database only - users run notebooks in VS Code locally
version: '3.8'
services:
iris:
build:
context: .
dockerfile: docker/Dockerfile.iris
container_name: integratedml_iris
ports:
- "${IRIS_PORT:-1972}:1972"
- "${IRIS_WEB_PORT:-52773}:52773"
environment:
- ISC_PASSWORD=${ISC_PASSWORD:-SYS}
- ISC_DATA_DIRECTORY=/opt/irisapp/data
- IRIS_USERNAME=${IRIS_USERNAME:-demo}
- IRIS_PASSWORD=${IRIS_PASSWORD:-demo}
- IRIS_NAMESPACE=${IRIS_NAMESPACE:-USER}
volumes:
- iris_data:/opt/irisapp/data
- ./docker/iris-init:/opt/irisapp/init:ro
- ./docker/iris-config:/opt/irisapp/config:ro
- ./data:/opt/irisapp/shared/data
- ./demos:/opt/irisapp/demos:ro
- ./shared:/opt/irisapp/shared:ro
healthcheck:
test: ["CMD", "iris", "session", "iris", "-U", "${IRIS_NAMESPACE:-USER}", "##class(%SYSTEM.Process).CurrentDirectory()"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
restart: unless-stopped
deploy:
resources:
limits:
memory: 4G
cpus: '2.0'
reservations:
memory: 2G
cpus: '1.0'
volumes:
iris_data:
driver: local
driver_opts:
type: none
o: bind
device: ./docker/volumes/iris_data