From 29281a6657d992934d829b7bf50682c4a0ed3e76 Mon Sep 17 00:00:00 2001 From: Ahoorast Date: Sun, 24 May 2026 15:51:12 +0330 Subject: [PATCH] chore: change docker compose file and .env.example --- .env.example | 2 +- docker-compose.yml | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.env.example b/.env.example index 3799128..1f94f2f 100644 --- a/.env.example +++ b/.env.example @@ -10,4 +10,4 @@ # should be updated accordingly. # Drizzle -DATABASE_URL="postgresql://postgres:password@localhost:5432/novin" +DATABASE_URL="postgresql://app_user:strong_password@localhost:5432/app_db" diff --git a/docker-compose.yml b/docker-compose.yml index 7885d99..5340ccf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,31 +5,18 @@ services: image: hub.hamdocker.ir/timescale/timescaledb:2.15.1-pg16 container_name: postgres restart: unless-stopped - environment: POSTGRES_DB: app_db POSTGRES_USER: app_user POSTGRES_PASSWORD: strong_password - ports: - - "5469:5432" - + - "5432:5432" volumes: - postgres_data:/var/lib/postgresql/data - command: > postgres -c shared_preload_libraries=timescaledb - pgadmin: - image: hub.hamdocker.ir/dpage/pgadmin4 - environment: - PGADMIN_DEFAULT_EMAIL: admin@example.com - PGADMIN_DEFAULT_PASSWORD: admin - ports: - - "5050:80" - - volumes: postgres_data: