build: add docker compose for postgres database

This commit is contained in:
2026-02-23 22:26:58 +00:00
parent 257eb80de7
commit 66f1b26cc8

14
docker-compose.yml Normal file
View File

@@ -0,0 +1,14 @@
services:
postgres:
image: postgres:16
container_name: postgres_db
restart: unless-stopped
env_file:
- .env
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
postgres_data: