fga-eps-mds/2019.1-unbrake

View on GitHub
deploy/compose.prod.yml

Summary

Maintainability
Test Coverage
# docker-compose for production

version: '3.7'

services:
  proxy:
    volumes:
      - "./nginx.proxy.prod.conf:/etc/nginx/nginx.conf"
  api:
    secrets:
      - api-django-secret-key
      - postgres_password

  frontend:
    volumes:
      - "./frontend/nginx.prod.conf:/etc/nginx/nginx.conf"
      - "./https_certificate.crt:/etc/nginx/ssl/https_certificate.crt"
    ports:
      - "443:443"
    secrets:
      - https_key

  api_server:
    volumes:
      - "./api/nginx.prod.conf:/etc/nginx/nginx.conf"

secrets:
  https_key:
    file: secrets/HTTPS_KEY

volumes:
  postgres_data: