Cyclops 4 HPC is the purpose built stack to support large HPC centers with resource accounting and billing of cluster as well as cloud resources.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
cyclops-4-hpc/extensions/lexis/run/docker-compose.yml

43 lines
891 B

version: '3'
services:
db:
image: postgres:latest
networks:
- cyclopsnet
environment:
POSTGRES_PASSWORD: pass1234
POSTGRES_DB: cyclops
POSTGRES_USER: cyclops
ports:
- 5432:5432
volumes:
- postgresql:/var/lib/postgresql
# This needs explicit mapping due to https://github.com/docker-library/postgres/blob/4e48e3228a30763913ece952c611e5e9b95c8759/Dockerfile.template#L52
- postgresql_data:/var/lib/postgresql/data
service:
image: lexis-extension:latest
restart: always
environment:
WAIT_HOSTS: db:5432
networks:
- cyclopsnet
depends_on:
- "db"
ports:
- 8000:8000
volumes:
- ${PWD}/config.toml:/config.toml
- ${PWD}/cert.crt:/cert.crt
- ${PWD}/key.key:/key.key
networks:
cyclopsnet:
driver: bridge
volumes:
postgresql:
postgresql_data: