services: oauth2-proxy: image: quay.io/oauth2-proxy/oauth2-proxy:latest command: --config /oauth2-proxy/oauth2-proxy.cfg volumes: - ./oauth2-proxy:/oauth2-proxy ports: - 4180:4180 docs: build: context: . container_name: docs restart: unless-stopped env_file: .env ports: - ${PORT:-8081}:80 depends_on: - oauth2-proxy