-
Charlotte Hausman authored
- try tagging docker image
Charlotte Hausman authored- try tagging docker image
docker-compose.yml 4.06 KiB
version: '3.8'
services:
workflow:
image: ssa-containers.aoc.nrao.edu/workspaces/workflow:${TAG}
networks:
- host
build:
context: .
dockerfile: ./services/workflow/Dockerfile
target: prod
args:
- WS_VERSION=${WS_VERSION}
- LOCAL_OR_SERVER_PEX="server-pex"
- DEPLOY_ENV=${ENV}
- API_TOKEN=${API_TOKEN}
environment:
CAPO_PATH: /home/casa/capo
CAPO_PROFILE: dsoc-${ENV}
DL_HOST: ${DL_HOST}
ENV_HOST: ${ENV_HOST}
deploy:
placement:
constraints:
- "node.labels.node_env==${ENV}"
restart_policy:
condition: on-failure
max_attempts: 3
window: 5s
update_config:
parallelism: 2
delay: 5s
order: stop-first
failure_action: rollback
rollback_config:
parallelism: 0
order: stop-first
volumes:
- /lustre/aoc/cluster/pipeline/dsoc-${ENV}/downloads/nrao:/lustre/aoc/cluster/pipeline/dsoc-${ENV}/downloads/nrao
- /lustre/aoc/cluster/pipeline/dsoc-${ENV}/workspaces:/lustre/aoc/cluster/pipeline/dsoc-${ENV}/workspaces
- /lustre/aoc/cluster/pipeline/vlass_${ENV}:/lustre/aoc/cluster/pipeline/vlass_${ENV}
- /home/ssa/bin/python3.10:/home/ssa/bin/python3.10
- /home/casa/capo:/home/casa/capo
- /users/vlapipe/.ssh:/home/vlapipe/.ssh
- /root/ws-condor/tokens.d:/etc/condor/tokens.d
- condor:/var/spool/condor
capability:
image: ssa-containers.aoc.nrao.edu/workspaces/capability:${TAG}
build:
context: .
dockerfile: ./services/capability/Dockerfile
target: prod
args:
- WS_VERSION=${WS_VERSION}
- DEPLOY_ENV=${ENV}
ports:
- target: 3457
published: 3457
protocol: tcp
mode: host
environment:
CAPO_PATH: /home/casa/capo
CAPO_PROFILE: dsoc-${ENV}
DL_HOST: ${DL_HOST}
ENV_HOST: ${ENV_HOST}
volumes:
- /home/casa/capo:/home/casa/capo
deploy:
placement: