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