From 0ef2b455239f524375c24f137dc989603edd97de Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 28 Dec 2025 11:34:20 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20.gitignore=EC=97=90=20docker-compose.ov?= =?UTF-8?q?erride.yml=20=EC=B6=94=EA=B0=80=20=EB=B0=8F=20.env.example?= =?UTF-8?q?=EA=B3=BC=20docker-compose.yml=20=ED=8C=8C=EC=9D=BC=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- tools/test-dbms/.env.example | 2 ++ tools/test-dbms/docker-compose.yml | 26 ++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 tools/test-dbms/.env.example create mode 100644 tools/test-dbms/docker-compose.yml diff --git a/.gitignore b/.gitignore index 5fca58c..fcacd0f 100644 --- a/.gitignore +++ b/.gitignore @@ -153,4 +153,5 @@ dist *.vsix #개발용 임시 코드 -.devbox \ No newline at end of file +.devbox +docker-compose.override.yml \ No newline at end of file diff --git a/tools/test-dbms/.env.example b/tools/test-dbms/.env.example new file mode 100644 index 0000000..e8980ec --- /dev/null +++ b/tools/test-dbms/.env.example @@ -0,0 +1,2 @@ +POSTGRES_PASSWORD=change-me +REDIS_PASSWORD=change-me diff --git a/tools/test-dbms/docker-compose.yml b/tools/test-dbms/docker-compose.yml new file mode 100644 index 0000000..bcecebe --- /dev/null +++ b/tools/test-dbms/docker-compose.yml @@ -0,0 +1,26 @@ +services: + postgres: + image: postgres:18 + container_name: sammo_postgres + environment: + POSTGRES_DB: sammo + POSTGRES_USER: sammo + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-change_me} + TZ: Asia/Seoul + ports: + - "127.0.0.1:15432:5432" + volumes: + - pgdata:/var/lib/postgresql/data + + redis: + image: redis:8 + container_name: sammo_redis + command: ["redis-server", "--appendonly", "yes", "--requirepass", "${REDIS_PASSWORD:-change_me}"] + ports: + - "127.0.0.1:16379:6379" + volumes: + - redisdata:/data + +volumes: + pgdata: + redisdata: