fix: tandoor listens on unix socket by default — bind gunicorn to TCP 8080

The vabene1111/recipes 2.x image starts gunicorn on unix:/tmp/tandoor.sock
unless TANDOOR_PORT is set, so Traefik got 502. Set TANDOOR_PORT=8080 and
point the domain to 8080 (80 was never listening).

Deploy-tested on a Dokploy instance: HTTP 200, setup page renders.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Mauricio Siu
2026-07-08 00:31:53 -06:00
parent c048635ec3
commit 0b7511f79c
2 changed files with 3 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ services:
- tandoor-db
environment:
SECRET_KEY: ${SECRET_KEY}
TANDOOR_PORT: "8080"
DB_ENGINE: django.db.backends.postgresql
POSTGRES_HOST: tandoor-db
POSTGRES_PORT: 5432
@@ -28,7 +29,7 @@ services:
- tandoor_staticfiles:/opt/recipes/staticfiles
- tandoor_mediafiles:/opt/recipes/mediafiles
ports:
- "80"
- "8080"
volumes:
tandoor_db_data:

View File

@@ -8,7 +8,7 @@ mounts = []
[[config.domains]]
serviceName = "tandoor-recipes"
port = 80
port = 8080
host = "${main_domain}"
[config.env]