Setup framework to do integration testing (#50)

This commit is contained in:
Azrenbeth
2021-09-06 09:52:13 +01:00
committed by GitHub
parent 011f9f8da5
commit 0f7f2c2660
12 changed files with 316 additions and 6 deletions

View File

@@ -0,0 +1,20 @@
version: '3'
services:
postgres:
image: "postgres:latest"
ports:
# N.B. format is [port on machine]:[port to expose from container]
- 5432:5432
environment:
POSTGRES_USER: synapse_user
POSTGRES_PASSWORD: synapse_pass
POSTGRES_DB: synapse
PGDATA: /tmp/data
volumes:
- ./database_setup.sh:/docker-entrypoint-initdb.d/1_database_setup.sh
tmpfs:
/tmp/data