I am currently working with docker for the first time the last month. I created a project with these 2 images:
- https://hub.docker.com/_/intersystems-iris-data-platform (for backend)
- https://hub.docker.com/_/nginx (for frontend)
My docker-compose.yml looks like this:
version: '2'
services:
frontend:
container_name: frontend
build:
context: ./container/frontend
dockerfile: Dockerfile.yaml
ports:
- "8080:80"
backend:
container_name: iris
build:
context: ./container/IRISDataPlatform
dockerfile: Dockerfile.yaml
volumes:
- ./container/IRISDataPlatform/ext:/external
ports:
- "9091:51773"
- "9092:52773"
environment:
- ISC_DATA_DIRECTORY=/external/irissys
- ICM_SENTINEL_DIR=/external
command: --password-file /external/password.txt


