1
0
Fork 1
mirror of https://example.com synced 2024-11-22 11:26:38 +09:00

dev: change port number in dev db/redis containers to avoid conflicts with exising instances

This commit is contained in:
naskya 2024-01-19 00:28:34 +09:00
parent f77fad99c4
commit ec7b1a9dae
Signed by: naskya
GPG key ID: 712D413B3A9FED5C
2 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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
```
コンテナを作り直すと簡単にデータベースを初期化できます。