From 29ad23cf5a65f2c9a4942ad01b91d1058b008413 Mon Sep 17 00:00:00 2001 From: Piotr Wrzodak Date: Wed, 14 Feb 2024 22:56:56 +0100 Subject: [PATCH] add db.yml docker compose file --- db.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 db.yml diff --git a/db.yml b/db.yml new file mode 100644 index 0000000..0d72d76 --- /dev/null +++ b/db.yml @@ -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'