From 881fd5f5d8f21c49736a6e2f7a411e44d8702ffa Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 19 Jan 2024 00:28:34 +0900 Subject: [PATCH] dev: change port number in dev db/redis containers to avoid conflicts with exising instances --- dev/docker-compose.yml | 4 ++-- docs/contributing.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/docker-compose.yml b/dev/docker-compose.yml index 0b78ce8d..2b2b60df 100644 --- a/dev/docker-compose.yml +++ b/dev/docker-compose.yml @@ -4,7 +4,7 @@ services: redis: image: docker.io/redis:7-alpine ports: - - "6379:6379" + - "26379:6379" db: image: docker.io/groonga/pgroonga:latest-alpine-16 @@ -13,6 +13,6 @@ services: - "POSTGRES_USER=firefish" - "POSTGRES_DB=firefish_db" ports: - - "5432:5432" + - "25432:5432" volumes: - "../neko/install.sql:/docker-entrypoint-initdb.d/install.sql:ro" diff --git a/docs/contributing.md b/docs/contributing.md index c314a4da..363c7e31 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -33,13 +33,13 @@ port: 3000 db: host: localhost - port: 5432 + port: 25432 db: firefish_db user: firefish pass: password redis: host: localhost - port: 6379 + port: 26379 ``` コンテナを作り直すと簡単にデータベースを初期化できます。