Setup framework to do integration testing (#50)
This commit is contained in:
20
compressor_integration_tests/docker-compose.yaml
Normal file
20
compressor_integration_tests/docker-compose.yaml
Normal 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
|
||||
Reference in New Issue
Block a user