テスト用コンテナの調整 (#7838)
* Tune test container * docs * fix cp config * doc * a
This commit is contained in:
15
test/docker-compose.yml
Normal file
15
test/docker-compose.yml
Normal file
@ -0,0 +1,15 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
redistest:
|
||||
image: redis:4.0-alpine
|
||||
ports:
|
||||
- "127.0.0.1:56312:6379"
|
||||
|
||||
dbtest:
|
||||
image: postgres:12.2-alpine
|
||||
ports:
|
||||
- "127.0.0.1:54312:5432"
|
||||
environment:
|
||||
POSTGRES_DB: "test-misskey"
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
12
test/test.yml
Normal file
12
test/test.yml
Normal file
@ -0,0 +1,12 @@
|
||||
url: 'http://misskey.local'
|
||||
port: 61812
|
||||
db:
|
||||
host: localhost
|
||||
port: 54312
|
||||
db: test-misskey
|
||||
user: postgres
|
||||
pass: ''
|
||||
redis:
|
||||
host: localhost
|
||||
port: 56312
|
||||
id: aid
|
Reference in New Issue
Block a user