##// END OF EJS Templates
update rc/models.py to last version:...
update rc/models.py to last version: - monitor channel - cgs_status

File last commit:

r400:fea82e8575d1
r418:d19764ba5024 ver_3Julio
Show More
docker-compose.yml
70 lines | 1.4 KiB | text/x-yaml | YamlLexer
version: '2'
services:
# Django app
# web:
# container_name: 'radarsys'
# build: .
# restart: always
# image: radarsys
# command: gunicorn radarsys.wsgi:application -w 2 -b :8000
# # command: python manage.py runserver 0.0.0.0:8030
# # ports:
# # - 8030:8030
# env_file: .env
# links:
# - redis
# - postgres
# volumes:
# - './:/radarsys'
# - '${DOCKER_DATA}/static:/radarsys/static'
# depends_on:
# - redis
# - postgres
redis:
container_name: 'radarsys-redis'
image: 'redis:3.2-alpine'
volumes:
- '${DOCKER_DATA}/redis:/data'
ports:
- 6300:6379
celery_worker:
container_name: 'radarsys-celery'
image: radarsys
env_file: .env
command: celery -A radarsys worker -l info
# volumes_from:
# - web
# depends_on:
# - web
# PostgreSQL
postgres:
container_name: 'radarsys-postgres'
build: ./postgres/
volumes:
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- /data/dockers/radarsys/postgres:/var/lib/postgresql/data
ports:
- 5400:5432
env_file: .env
# Web Server
# nginx:
# container_name: 'radarsys-nginx'
# restart: always
# build: ./nginx/
# ports:
# - '8030:8030'
# volumes_from:
# - web
# links:
# - web:web
# depends_on:
# - web
# volumes:
# pgdata:
# driver: local