services:
  web:
    build:
      context: .
      dockerfile: Dockerfile.web
    expose: ["80"]
    restart: unless-stopped

  proxy:
    image: nginx:alpine
    volumes:
      - ./proxy/nginx-proxy.conf:/etc/nginx/conf.d/default.conf:ro
    ports:
      - "8080:80"
    depends_on:
      - web
    restart: unless-stopped
