Newer
Older
version: '3'
services:
slurmclustermaster-main:
image: "rosetta/slurmclustermaster"
container_name: slurmclustermaster-main
hostname: slurmclustermaster-main
environment:
- SAFEMODE=False
privileged: true
volumes:
# - ./data/singularity_cache:/rosetta/.singularity/cache # Not working, check permissions...
slurmclusterworker-one:
image: "rosetta/slurmclusterworker"
container_name: slurmclusterworker-one
hostname: slurmclusterworker-one
environment:
- SAFEMODE=False
privileged: true
volumes:
Stefano Alberto Russo
committed
- /var/run/docker.sock:/var/run/docker.sock
dregistry:
container_name: dregistry
hostname: dregistry
image: "rosetta/dregistry"
volumes:
- ./data/dregistry:/var/lib/registry
ports:
- "5000:5000"
Stefano Alberto Russo
committed
postgres:
image: "rosetta/postgres"
container_name: postgres
hostname: postgres
environment:
- SAFEMODE=False
volumes:
- ./data/postgres/data:/data
Stefano Alberto Russo
committed
webapp:
image: "rosetta/webapp"
container_name: webapp
hostname: webapp
environment:
- SAFEMODE=False
Stefano Alberto Russo
committed
- DJANGO_DEV_SERVER=True
- DJANGO_LOG_LEVEL=CRITICAL
- ROSETTA_LOG_LEVEL=DEBUG
Stefano Alberto Russo
committed
#- ROSETTA_WEBAPP_HOST=localhost # Internal, for the agent
#- ROSETTA_WEBAPP_PORT=8080 # Internal, for the agent
Stefano Alberto Russo
committed
#- LOCAL_DOCKER_REGISTRY_HOST=
#- LOCAL_DOCKER_REGISTRY_PORT=5000
Stefano Alberto Russo
committed
#- DJANGO_EMAIL_APIKEY=""
#- DJANGO_EMAIL_FROM="Rosetta Platform <notifications@rosetta.platform>"
Stefano Alberto Russo
committed
- TASK_PROXY_HOST=localhost
- TASK_TUNNEL_HOST=localhost
- ROSETTA_HOST=localhost
ports:
- "8080:8080"
- "7000-7020:7000-7020"
- ./data/webapp/data:/data
- ./data/webapp/log:/var/log/webapp
- /var/run/docker.sock:/var/run/docker.sock
#- ./services/webapp/code:/opt/code
Stefano Alberto Russo
committed
proxy:
image: "rosetta/proxy"
container_name: proxy
hostname: proxy
environment:
- SAFEMODE=False
Stefano Alberto Russo
committed
- ROSETTA_HOST=localhost
Stefano Alberto Russo
committed
ports:
- "80:80"
- "443:443"
- "9000-9020:9000-9020"
Stefano Alberto Russo
committed
volumes:
- ./data/shared:/shared