add db.yml docker compose file

This commit is contained in:
Piotr Wrzodak 2024-02-14 22:56:56 +01:00
parent ee028ad4ed
commit 29ad23cf5a
1 changed files with 20 additions and 0 deletions

20
db.yml Normal file
View File

@ -0,0 +1,20 @@
version: '3.6'
networks:
gitea:
external: false
services:
db:
image: postgres:9.6
restart: always
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: db
volumes:
- /mnt/HC_Volume_100342428/Post:/var/lib/postgresql/data
networks:
- gitea
ports:
- '5432:5432'