Hi, has anyone deployed Airbyte via docker-compose...
# contributing-to-airbyte
j
Hi, has anyone deployed Airbyte via docker-compose and integrated as simple reverse proxy for basic auth (nginx, traefik, ...)? Would be great if you could share the compose-file.
a
@Jens, successfully did this last week with traefik. With the airbyt'es docker-compose, you just need to add
Copy code
labels:
      - "traefik.enable=true"
      - "traefik.http.routers.airbyte-webapp.rule=Host(`{HOSTNAME}`)"
      - "traefik.http.routers.airbyte-webapp.entrypoints=web"
      - "traefik.http.routers.airbyte-webapp.middlewares=auth"
      - "traefik.http.middlewares.auth.basicauth.users={BASICAUTH_STRING}
to the webapp image and add the treafik image to docker-compose :
Copy code
traefik:
    image: "traefik:v2.6"
    container_name: "traefik"
    command:
      - "--api.insecure=true"
      - "--providers.docker=true"
      - "--providers.docker.exposedbydefault=false"
      - "--entrypoints.web.address=:80"
    ports:
      - "80:80"
      - "8080:8080"
    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock:ro"
And it should work like a breeze 😉
@LĂ©on Stefani awesome. Thanks a lot!