fix: use existing database credentials (bbdf554) to match initialized volume

This commit is contained in:
cawcenter
2025-12-14 09:07:05 -05:00
parent 3acd8b6330
commit f2121e19e3
2 changed files with 17 additions and 27 deletions

View File

@@ -1,18 +1,14 @@
# Hardcoded Credentials (Saved for Reference) # Credentials (Using Existing Database)
## Directus Admin Login ## Directus Admin Login
- **URL**: https://spark.jumpstartscaling.com - **URL**: https://spark.jumpstartscaling.com
- **Email**: admin@sparkplatform.com - **Email**: somescreenname@gmail.com
- **Password**: SecureAdmin2024! - **Password**: Idk@2026lolhappyha232
## Database Credentials ## Database Credentials (Existing)
- **User**: sparkuser - **User**: bbdf554
- **Password**: z84S0ss3xFN/Q8A/QHtR2WDFcVAom/EszyCg8FMMSQw= - **Password**: Idk@2026lolhappyha232
- **Database**: directus - **Database**: directus
## Directus Keys ## Note
- **KEY**: 9i2t1bMAIITWCZ+WrzUEk4EuNmIu3kfyB9Peysk7f/jnUZ7hzQ5HoNC8yOT5vi/rwTmDWX3a1+4j2llgAE2VvA== These credentials match the existing PostgreSQL database volume. The database was already initialized with these credentials from a previous deployment.
- **SECRET**: Mr4YSrOAfwToxCDFOPwUa8qtxd7BXOvmqXalk3ReikpfcIwf08Kp+hlNjGcr1NtcLIcIZoraaULnMefD5IukGA==
## Deployment
**No environment variables needed!** Just deploy the docker-compose.yaml in Coolify and everything will work.

View File

@@ -1,17 +1,16 @@
services: services:
postgresql: postgresql:
image: 'postgis/postgis:16-3.4-alpine' image: 'postgis/postgis:16-3.4-alpine'
# MAX LIMIT: Allow 200 concurrent connections
command: postgres -c 'max_connections=200' command: postgres -c 'max_connections=200'
restart: always restart: always
volumes: volumes:
- 'postgres-data:/var/lib/postgresql/data' - 'postgres-data:/var/lib/postgresql/data'
environment: environment:
POSTGRES_USER: sparkuser # Using credentials from existing database volume
POSTGRES_PASSWORD: z84S0ss3xFN/Q8A/QHtR2WDFcVAom/EszyCg8FMMSQw= POSTGRES_USER: bbdf554
POSTGRES_PASSWORD: Idk@2026lolhappyha232
POSTGRES_DB: directus POSTGRES_DB: directus
healthcheck: healthcheck:
# SELF-CHECK: Uses 127.0.0.1 to check ITSELF inside the container (not external)
test: ["CMD-SHELL", "pg_isready -h 127.0.0.1"] test: ["CMD-SHELL", "pg_isready -h 127.0.0.1"]
interval: 5s interval: 5s
timeout: 5s timeout: 5s
@@ -38,21 +37,18 @@ services:
environment: environment:
KEY: 9i2t1bMAIITWCZ+WrzUEk4EuNmIu3kfyB9Peysk7f/jnUZ7hzQ5HoNC8yOT5vi/rwTmDWX3a1+4j2llgAE2VvA== KEY: 9i2t1bMAIITWCZ+WrzUEk4EuNmIu3kfyB9Peysk7f/jnUZ7hzQ5HoNC8yOT5vi/rwTmDWX3a1+4j2llgAE2VvA==
SECRET: Mr4YSrOAfwToxCDFOPwUa8qtxd7BXOvmqXalk3ReikpfcIwf08Kp+hlNjGcr1NtcLIcIZoraaULnMefD5IukGA== SECRET: Mr4YSrOAfwToxCDFOPwUa8qtxd7BXOvmqXalk3ReikpfcIwf08Kp+hlNjGcr1NtcLIcIZoraaULnMefD5IukGA==
ADMIN_EMAIL: admin@sparkplatform.com ADMIN_EMAIL: somescreenname@gmail.com
ADMIN_PASSWORD: SecureAdmin2024! ADMIN_PASSWORD: Idk@2026lolhappyha232
DB_CLIENT: postgres DB_CLIENT: postgres
DB_HOST: postgresql DB_HOST: postgresql
DB_PORT: 5432 DB_PORT: 5432
DB_DATABASE: directus DB_DATABASE: directus
DB_USER: sparkuser # Match existing database credentials
DB_PASSWORD: z84S0ss3xFN/Q8A/QHtR2WDFcVAom/EszyCg8FMMSQw= DB_USER: bbdf554
DB_PASSWORD: Idk@2026lolhappyha232
# --- LIMITS MAXED OUT ---
MAX_PAYLOAD_SIZE: '500mb' MAX_PAYLOAD_SIZE: '500mb'
RATE_LIMITER_ENABLED: 'false' # False = Infinite/Unlimited RATE_LIMITER_ENABLED: 'false'
# --- CORS / SECURITY ---
# This allows your LIVE site AND your LOCAL laptop to talk to the DB
CORS_ORIGIN: 'https://launch.jumpstartscaling.com,http://localhost:4321' CORS_ORIGIN: 'https://launch.jumpstartscaling.com,http://localhost:4321'
CORS_ENABLED: 'true' CORS_ENABLED: 'true'
PUBLIC_URL: 'https://spark.jumpstartscaling.com' PUBLIC_URL: 'https://spark.jumpstartscaling.com'
@@ -67,7 +63,6 @@ services:
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5
# PATIENCE: Give Directus 3 minutes to start before giving up
start_period: 180s start_period: 180s
labels: labels:
coolify.managed: 'true' coolify.managed: 'true'
@@ -77,7 +72,6 @@ services:
frontend: frontend:
build: build:
# MAGIC URL: Repo URL + #Branch + :Subfolder
context: https://gitthis.jumpstartscaling.com/gatekeeper/net.git#main:frontend context: https://gitthis.jumpstartscaling.com/gatekeeper/net.git#main:frontend
dockerfile: Dockerfile dockerfile: Dockerfile
restart: always restart: always