From 03b04acb1628e710dec1d768d74aedfc0a4f1ccd Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sat, 16 Oct 2021 17:12:20 +0900 Subject: テスト用コンテナの調整 (#7838) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Tune test container * docs * fix cp config * doc * a --- test/docker-compose.yml | 15 +++++++++++++++ test/test.yml | 12 ++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 test/docker-compose.yml create mode 100644 test/test.yml (limited to 'test') diff --git a/test/docker-compose.yml b/test/docker-compose.yml new file mode 100644 index 0000000000..c045e7c6c4 --- /dev/null +++ b/test/docker-compose.yml @@ -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 diff --git a/test/test.yml b/test/test.yml new file mode 100644 index 0000000000..2d3094653e --- /dev/null +++ b/test/test.yml @@ -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 -- cgit v1.2.3-freya