chore: change docker compose file and .env.example

This commit is contained in:
2026-05-24 15:51:12 +03:30
parent d9db3e5e21
commit 29281a6657
2 changed files with 2 additions and 15 deletions
+1 -14
View File
@@ -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: