Fix for database deployment error

This commit is contained in:
headlessdev 2025-04-14 12:27:49 +02:00
parent e41fa3a694
commit 7023723a16

View File

@ -8,7 +8,7 @@ services:
LOGIN_PASSWORD: "SecretPassword" LOGIN_PASSWORD: "SecretPassword"
JWT_SECRET: RANDOM_SECRET JWT_SECRET: RANDOM_SECRET
ACCOUNT_SECRET: RANDOM_SECRET ACCOUNT_SECRET: RANDOM_SECRET
DATABASE_URL: "postgresql://postgres:postgres@db:5432/postgres?sslmode=require&schema=public" DATABASE_URL: "postgresql://postgres:postgres@db:5432/postgres"
depends_on: depends_on:
- db - db
- agent - agent
@ -16,7 +16,7 @@ services:
agent: agent:
image: haedlessdev/corecontrol-agent:latest image: haedlessdev/corecontrol-agent:latest
environment: environment:
DATABASE_URL: "postgresql://postgres:postgres@db:5432/postgres?sslmode=require&schema=public" DATABASE_URL: "postgresql://postgres:postgres@db:5432/postgres"
db: db:
image: postgres:17 image: postgres:17