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:
parent
f77fad99c4
commit
ec7b1a9dae
2 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
||||
コンテナを作り直すと簡単にデータベースを初期化できます。
|
||||
|
|
Loading…
Reference in a new issue