Files
novin/docker-compose.yml

23 lines
466 B
YAML

version: "3.8"
services:
postgres:
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:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
command: >
postgres
-c shared_preload_libraries=timescaledb
volumes:
postgres_data: