mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-10 00:15:28 +02:00
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:
@@ -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:
|
||||
|
||||
@@ -8,7 +8,7 @@ mounts = []
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "tandoor-recipes"
|
||||
port = 80
|
||||
port = 8080
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
|
||||
Reference in New Issue
Block a user