From bf3d22a4c875e74990adfef35c8b3772dfe097cb Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 23 Jun 2023 11:48:28 +0200 Subject: [PATCH] Improve local dev --- .env.development.example | 2 -- docker-compose.dev.yml | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.env.development.example b/.env.development.example index 61ff261c7..e4508405b 100644 --- a/.env.development.example +++ b/.env.development.example @@ -14,5 +14,3 @@ APP_URL=http://localhost APP_PORT=8000 DUSK_DRIVER_URL=http://selenium:4444 - -DB_PASSWORD=password diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 8e1f5e6f7..c520fabfd 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -29,9 +29,9 @@ services: env_file: - .env environment: - POSTGRES_USER: "${DB_USERNAME}" - POSTGRES_PASSWORD: "${DB_PASSWORD}" - POSTGRES_DB: "${DB_DATABASE}" + POSTGRES_USER: "${DB_USERNAME:-coolify}" + POSTGRES_PASSWORD: "${DB_PASSWORD:-password}" + POSTGRES_DB: "${DB_DATABASE:-coolify}" POSTGRES_HOST_AUTH_METHOD: "trust" volumes: - ./_data/_volumes/database/:/var/lib/postgresql/data