Rename databases to make them work with replibyte
@@ -92,7 +92,7 @@ services:
condition: service_healthy
environment:
<<: *enviroment_defaults
- DATABASE_URL: postgresql+asyncpg://users-backend:users-backend@users-backend-db/users-backend
+ DATABASE_URL: postgresql+asyncpg://users:users@users-backend-db/users
volumes:
- ./users-backend:/home/app/
tty: true
@@ -115,11 +115,11 @@ services:
volumes:
- users-backend-db-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER: users-backend
- POSTGRES_PASSWORD: users-backend
- POSTGRES_DB: users-backend
+ POSTGRES_USER: users
+ POSTGRES_PASSWORD: users
+ POSTGRES_DB: users
healthcheck:
- test: ["CMD-SHELL", "pg_isready -U users-backend"]
+ test: ["CMD-SHELL", "pg_isready -U users"]
interval: 5s
timeout: 5s
@@ -141,7 +141,7 @@ services:
STRIPE_WEBHOOK_SIGNATURE_SECRET: ${STRIPE_WEBHOOK_SIGNATURE_SECRET}
PRETIX_API_TOKEN: ${PRETIX_API_TOKEN}
PRETIX_WEBHOOK_SECRET: "secret"
- DATABASE_URL: postgresql://association-backend:association-backend@association-backend-db/association-backend
+ DATABASE_URL: postgresql://association:association@association-backend-db/association
volumes:
- ./association-backend:/home/app/
tty: true
@@ -164,11 +164,11 @@ services:
volumes:
- association-backend-db-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER: association-backend
- POSTGRES_PASSWORD: association-backend
- POSTGRES_DB: association-backend
+ POSTGRES_USER: association
+ POSTGRES_PASSWORD: association
+ POSTGRES_DB: association
healthcheck:
- test: ["CMD-SHELL", "pg_isready -U association-backend"]
+ test: ["CMD-SHELL", "pg_isready -U association"]
interval: 5s
timeout: 5s
