From db80b710e8f1fab63a67e072d5f9909424535830 Mon Sep 17 00:00:00 2001 From: Youngbin Han Date: Sun, 21 Jul 2024 03:58:54 +0900 Subject: [PATCH] add postgres --- docker-compose.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index d9f4a1d..9427972 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -73,6 +73,13 @@ services: image: bitnami/redis environment: - ALLOW_EMPTY_PASSWORD=yes + postgres: + image: postgresql + environment: + - POSTGRES_PASSWORD=password + - PGDATA=/var/lib/postgresql/data/pgdata + volumes: + - ./data/pgdata:/var/lib/postgresql/data/pgdata caddy: image: caddy volumes: