version: "3.9"

services:
  web:
    image: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}
    environment:
      - ENV=production
      - SECRET_KEY
      - DB_URL
  reverse_proxy:
    image: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}-nginx
    ports:
      - "80:80"
      - "443:443"
    depends_on:
      - web

