2019-02-27 22:03:14 +01:00
|
|
|
version: '3.1'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
postgres:
|
|
|
|
image: postgres:11
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: postgres
|
2019-08-28 13:18:53 +02:00
|
|
|
command: -c fsync=off
|
2019-02-27 22:03:14 +01:00
|
|
|
|
|
|
|
testenv:
|
|
|
|
image: python:3.7
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
SYNAPSE_POSTGRES_HOST: postgres
|
|
|
|
SYNAPSE_POSTGRES_USER: postgres
|
|
|
|
SYNAPSE_POSTGRES_PASSWORD: postgres
|
2019-08-29 14:19:57 +02:00
|
|
|
working_dir: /src
|
2019-02-27 22:03:14 +01:00
|
|
|
volumes:
|
2019-08-29 14:19:57 +02:00
|
|
|
- ..:/src
|