##// END OF EJS Templates
Fix upload files
Fix upload files

File last commit:

r10:ac38b2ff3424
r10:ac38b2ff3424
Show More
docker-compose.yml
28 lines | 792 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
Fix upload files
r10 command: gunicorn djangoMad.wsgi --timeout 600 --bind 0.0.0.0:8000
Initial
r0 env_file: .env
Fix docker commands
r1 volumes:
Update config files
r4 - '${EXP_DIR}:/madrigal/experiments'
Fix upload files
r10 - '${META_DIR}:/madrigal/metadata'
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