mirror of
https://origin.cursor.com/mrdevmx/panels.git
synced 2026-10-09 20:43:17 +00:00
Fix compose for Coolify load: soften env syntax, publish HTTP ports, keep .yaml
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
eab33baaa1
commit
14a84d2168
2 changed files with 18 additions and 16 deletions
|
|
@ -1,7 +1,4 @@
|
||||||
# Coolify / local stack — 3 services, 0 managed DBs (2 SQLite en volumen)
|
# Coolify / local — 3 services, SQLite en volumen panel-data
|
||||||
#
|
|
||||||
# Secretos OBLIGATORIOS (sin default en compose): defínelos en Coolify o en un
|
|
||||||
# archivo .env local (gitignored). Si faltan, `docker compose` falla al arrancar.
|
|
||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
build:
|
build:
|
||||||
|
|
@ -10,11 +7,11 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
PORT: ${PORT:-8000}
|
PORT: ${PORT:-8000}
|
||||||
SESSION_SECRET: ${SESSION_SECRET:?SESSION_SECRET is required}
|
SESSION_SECRET: ${SESSION_SECRET}
|
||||||
DOCS_KEY: ${DOCS_KEY:?DOCS_KEY is required (64 hex chars)}
|
DOCS_KEY: ${DOCS_KEY}
|
||||||
SEED_PASSWORD: ${SEED_PASSWORD:?SEED_PASSWORD is required}
|
SEED_PASSWORD: ${SEED_PASSWORD}
|
||||||
API_KEY: ${API_KEY:-}
|
API_KEY: ${API_KEY:-}
|
||||||
PANEL_LOGIN_URL: ${PANEL_LOGIN_URL:?PANEL_LOGIN_URL is required}
|
PANEL_LOGIN_URL: ${PANEL_LOGIN_URL}
|
||||||
COOKIE_SECURE: ${COOKIE_SECURE:-true}
|
COOKIE_SECURE: ${COOKIE_SECURE:-true}
|
||||||
CORS_ORIGINS: ${CORS_ORIGINS:-}
|
CORS_ORIGINS: ${CORS_ORIGINS:-}
|
||||||
VCARD_BASE: ${VCARD_BASE:-}
|
VCARD_BASE: ${VCARD_BASE:-}
|
||||||
|
|
@ -48,6 +45,8 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
api:
|
api:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
ports:
|
||||||
|
- "80"
|
||||||
expose:
|
expose:
|
||||||
- "80"
|
- "80"
|
||||||
|
|
||||||
|
|
@ -59,6 +58,8 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
api:
|
api:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
ports:
|
||||||
|
- "80"
|
||||||
expose:
|
expose:
|
||||||
- "80"
|
- "80"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
# Coolify / local stack — 3 services, 0 managed DBs (2 SQLite en volumen)
|
# Coolify / local — 3 services, SQLite en volumen panel-data
|
||||||
#
|
|
||||||
# Secretos OBLIGATORIOS (sin default en compose): defínelos en Coolify o en un
|
|
||||||
# archivo .env local (gitignored). Si faltan, `docker compose` falla al arrancar.
|
|
||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
build:
|
build:
|
||||||
|
|
@ -10,11 +7,11 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
PORT: ${PORT:-8000}
|
PORT: ${PORT:-8000}
|
||||||
SESSION_SECRET: ${SESSION_SECRET:?SESSION_SECRET is required}
|
SESSION_SECRET: ${SESSION_SECRET}
|
||||||
DOCS_KEY: ${DOCS_KEY:?DOCS_KEY is required (64 hex chars)}
|
DOCS_KEY: ${DOCS_KEY}
|
||||||
SEED_PASSWORD: ${SEED_PASSWORD:?SEED_PASSWORD is required}
|
SEED_PASSWORD: ${SEED_PASSWORD}
|
||||||
API_KEY: ${API_KEY:-}
|
API_KEY: ${API_KEY:-}
|
||||||
PANEL_LOGIN_URL: ${PANEL_LOGIN_URL:?PANEL_LOGIN_URL is required}
|
PANEL_LOGIN_URL: ${PANEL_LOGIN_URL}
|
||||||
COOKIE_SECURE: ${COOKIE_SECURE:-true}
|
COOKIE_SECURE: ${COOKIE_SECURE:-true}
|
||||||
CORS_ORIGINS: ${CORS_ORIGINS:-}
|
CORS_ORIGINS: ${CORS_ORIGINS:-}
|
||||||
VCARD_BASE: ${VCARD_BASE:-}
|
VCARD_BASE: ${VCARD_BASE:-}
|
||||||
|
|
@ -48,6 +45,8 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
api:
|
api:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
ports:
|
||||||
|
- "80"
|
||||||
expose:
|
expose:
|
||||||
- "80"
|
- "80"
|
||||||
|
|
||||||
|
|
@ -59,6 +58,8 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
api:
|
api:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
ports:
|
||||||
|
- "80"
|
||||||
expose:
|
expose:
|
||||||
- "80"
|
- "80"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue