Hello,
I have setup Traefik to work with Docker. I have deployed my docker containers for my application, and I can see my docker rule listed in the routers section within the traefik dashboard.
my docker compose file snippet for the frontend service is this:
postiz:
image: 'ghcr.io/gitroomhq/postiz-app:latest'
container_name: postiz
restart: always
environment:
MAIN_URL: 'https://kodeazure.com'
FRONTEND_URL: 'https://kodeazure.com'
NEXT_PUBLIC_BACKEND_URL: 'https://kodeazure.com/api'
JWT_SECRET: notshown
DATABASE_URL: 'postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local'
REDIS_URL: 'redis://postiz-redis:6379'
BACKEND_INTERNAL_URL: 'http://localhost:3000'
IS_GENERAL: 'true'
STORAGE_PROVIDER: local
UPLOAD_DIRECTORY: /uploads
NEXT_PUBLIC_UPLOAD_DIRECTORY: /uploads
volumes:
- 'postiz-config:/config/'
- 'postiz-uploads:/uploads/'
ports:
- '5000:5000'
networks:
- postiz-network
labels:
- traefik.enable=true
- traefik.http.routers.dbjoe.rule=Host(`kodeazure.com`) && PathPrefix(`/`)
- traefik.http.routers.dbjoe.entryPoints=https
depends_on:
postiz-postgres:
condition: service_healthy
postiz-redis:
condition: service_healthy
The Traefik Dashboard Rule, that was picked up.
STATUS
success
PROVIDER
docker
RULE
Host(`kodeazure.com`) && PathPrefix(`/`)
NAME
dbjoe@docker
ENTRYPOINTS
https
SERVICE
PRIORITY
40
however when I navigate to 'kodeazure.com' I am presented with the error 'no available server'
I've attached my traefik dashboard.
I'm grateful for any assistance.