-
Daniel Lyons authoredDaniel Lyons authored
docker-compose.local.yml 8.05 KiB
version: '3.8'
services:
nginx:
image: nginx:1.19.7-alpine
restart: always
ports:
- "4444:80"
depends_on:
- frontend
command: nginx -g "daemon off;"
volumes:
- ./apps/web/ws-nginx.local.conf:/etc/nginx/conf.d/default.conf
- ./lustre/:/lustre/aoc/cluster/pipeline/docker/workspaces
- ./delivery_root:/tmp/delivery_root
db:
image: ssa-containers.aoc.nrao.edu/ops/ci/db:workspaces
restart: always
ports:
- "54322:5432"
environment:
POSTGRES_USER: archive
POSTGRES_PASSWORD: docker
command: postgres -c listen_addresses=*
healthcheck:
test: pg_isready -U archive -d archive
start_period: 2s
interval: 2s
timeout: 2s
retries: 5
volumes:
- ./pgdata:/var/lib/postgresql/data
amqp:
image: rabbitmq:3.8-management
restart: always
ports:
- "15672:15672"
condor-cm:
build:
context: .
dockerfile: ./config/htcondor/cm/Dockerfile.local
ports:
- 9618
condor-execute:
build:
context: .
dockerfile: ./config/htcondor/execute/Dockerfile.local
volumes:
- ./delivery_root:/tmp/delivery_root
- ./lustre/aoc/cluster/pipeline/docker/workspaces:/lustre/aoc/cluster/pipeline/docker/workspaces
- ./lustre/aoc/cluster/pipeline/vlass_docker:/lustre/aoc/cluster/pipeline/vlass_docker
pex-watcher:
build:
context: .
dockerfile: ./config/pex-watcher/Dockerfile.pex
volumes:
- ./config/pex-watcher:/config
- ./apps/cli/executables/pexable/:/config/apps/cli/executables/pexable/
- ./lustre/aoc/cluster/pipeline/docker/workspaces/sbin:/lustre/aoc/cluster/pipeline/docker/workspaces/sbin
schema:
build:
context: ./shared/workspaces/alembic/
dockerfile: Dockerfile.local
depends_on:
db:
condition: service_healthy