summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/docker-compose.yml15
-rw-r--r--test/test.yml12
2 files changed, 27 insertions, 0 deletions
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