fix: remove env_file to prevent credential override, add .env.production template
This commit is contained in:
@@ -11,7 +11,7 @@ services:
|
||||
POSTGRES_PASSWORD: Idk@2026lolhappyha232
|
||||
POSTGRES_DB: directus
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -h 127.0.0.1"]
|
||||
test: [ "CMD-SHELL", "pg_isready -h 127.0.0.1" ]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
volumes:
|
||||
- 'redis-data:/data'
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
test: [ "CMD", "redis-cli", "ping" ]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -46,20 +46,20 @@ services:
|
||||
# Match existing database credentials
|
||||
DB_USER: bbdf554
|
||||
DB_PASSWORD: Idk@2026lolhappyha232
|
||||
|
||||
|
||||
MAX_PAYLOAD_SIZE: '500mb'
|
||||
RATE_LIMITER_ENABLED: 'false'
|
||||
CORS_ORIGIN: 'https://launch.jumpstartscaling.com,http://localhost:4321'
|
||||
CORS_ENABLED: 'true'
|
||||
PUBLIC_URL: 'https://spark.jumpstartscaling.com'
|
||||
|
||||
|
||||
depends_on:
|
||||
postgresql:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "--no-verbose", "http://127.0.0.1:8055/server/health"]
|
||||
test: [ "CMD", "wget", "--spider", "--no-verbose", "http://127.0.0.1:8055/server/health" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -92,3 +92,6 @@ volumes:
|
||||
redis-data:
|
||||
directus-uploads:
|
||||
directus-extensions:
|
||||
|
||||
# NOTE: No env_file specified - all credentials are hardcoded above
|
||||
# This prevents Coolify from loading external .env files that might override values
|
||||
|
||||
Reference in New Issue
Block a user