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

  proxy:
    image: httpd:2.4-alpine
    volumes:
      - ./proxy/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro
    ports:
      - "8080:80"
    depends_on:
      - web
    restart: unless-stopped
