##// END OF EJS Templates
Update configs
Update configs

File last commit:

r9:2e29893b10f5
r9:2e29893b10f5
Show More
docker-compose.yml
27 lines | 737 B | text/x-yaml | YamlLexer
/ docker-compose.yml
Initial
r0 version: '3'
services:
web:
container_name: 'madrigal'
build: .
restart: always
image: madrigal
Fix docker commands
r1 working_dir: /madrigal/source/madpy/djangoMad
command: gunicorn djangoMad.wsgi --bind 0.0.0.0:8000
Initial
r0 env_file: .env
Fix docker commands
r1 volumes:
Update config files
r4 - '${EXP_DIR}:/madrigal/experiments'
Update configs
r9 - './source/madpy/djangoMad:/madrigal/source/madpy/djangoMad'
Fix docker commands
r1
nginx:
container_name: 'madrigal-nginx'
image: nginx:1.15-alpine
Initial
r0 volumes:
Update configs
r9 - ./source/madpy/djangoMad/static_files:/static
Fix docker commands
r1 - ./nginx:/etc/nginx/conf.d
ports:
Update config files
r4 - "${MAD_PORT}:8080"
Initial
r0 depends_on:
Fix docker commands
r1 - web
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
Update config files
r4