2019-02-27 14:03:14 -07:00
|
|
|
version: '3.1'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
postgres:
|
|
|
|
image: postgres:9.5
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: postgres
|
2019-08-28 05:18:53 -06:00
|
|
|
command: -c fsync=off
|
2019-02-27 14:03:14 -07:00
|
|
|
|
|
|
|
testenv:
|
|
|
|
image: python:3.5
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
SYNAPSE_POSTGRES_HOST: postgres
|
|
|
|
SYNAPSE_POSTGRES_USER: postgres
|
|
|
|
SYNAPSE_POSTGRES_PASSWORD: postgres
|
2019-08-29 06:19:57 -06:00
|
|
|
working_dir: /src
|
2019-02-27 14:03:14 -07:00
|
|
|
volumes:
|
2019-08-29 06:19:57 -06:00
|
|
|
- ..:/src
|