テスト用コンテナの調整 (#7838)

* Tune test container

* docs

* fix cp config

* doc

* a
This commit is contained in:
MeiMei
2021-10-16 17:12:20 +09:00
committed by GitHub
parent 345a9d3525
commit 03b04acb16
4 changed files with 43 additions and 5 deletions

15
test/docker-compose.yml Normal file
View 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
View 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