Open codefriar opened 3 years ago
@codefriar Would love to help on fixing this, it will likely be easier on a zoom. Do you have time next week to discuss it? I will contact you on slack to set this up.
For anyone else wondering, here's the magic for traefik 2.
The web front end will need standard traefik labels, but the api will need tags that add && PathPrefix(
/api)
and therefor look like this:
"traefik.http.routers.{{ service_item }}-api-http.rule=Host(
{{ service_domain }}) && PathPrefix(
/api)"
Thanks @codefriar !
For future people who come here, I want to point out today is actually just simply switching Terraform provider to server_url = "${var.airbyte_url}/api/public/v1"
. Here airbyte_url
points to airbyte-webapp-svc.airbyte-namespace
.
It helps
airbyte-api-server:
enabled: false
Tell us about the documentation you'd like us to add or update
I've seen the CEO's comments on HN about adjusting the APIURL, but i'm not able to get it to function correctly (throws a 405 on api/v1/workspaces/get...
I've established a traefik network, and the airbyte_network and pulling from the official docker-compose file put this together
```yml
version: '3'
This networks section required for the package to be visible to Traefik.
DO NOT Remove
networks: traefik_network: external: name: vivumlab_traefik airbyte_network:
services: init: image: airbyte/init:0.18.2-alpha container_name: init command: /bin/sh -c "./scripts/create_mount_directories.sh /local_parent /tmp /tmp/airbyte_local" environment:
- traefik_network
Pre-populate the volume if it is empty.
See: https://docs.docker.com/storage/volumes/#populate-a-volume-using-a-container
volumes:
- traefik_network
- traefik_network