x-kompass: &kompass image: kompass:production env_file: docker.env environment: - DJANGO_SETTINGS_MODULE=jdav_web.settings - KOMPASS_CONFIG_DIR_PATH=/app/config/ restart: always depends_on: - redis - cache services: master: <<: *kompass build: context: ./../../ dockerfile: docker/production/Dockerfile entrypoint: /app/docker/production/entrypoint-master.sh volumes: - uwsgi_data:/tmp/uwsgi/ - web_static:/app/static/ - web_static:/var/www/jdav_web/static/ - ./media:/var/www/jdav_web/media/ - ./config:/app/config:ro nginx: build: ./nginx/ restart: always volumes: - uwsgi_data:/tmp/uwsgi/ - web_static:/var/www/jdav_web/static/:ro - ./media:/var/www/jdav_web/media/:ro ports: - "3000:80" depends_on: - master cache: restart: always image: memcached:alpine redis: restart: always image: redis:6-alpine celery_worker: <<: *kompass entrypoint: /app/docker/production/entrypoint-celery-worker.sh volumes: - ./config:/app/config:ro celery_beat: <<: *kompass entrypoint: /app/docker/production/entrypoint-celery-beat.sh volumes: - ./config:/app/config:ro volumes: uwsgi_data: web_static: