mirror of https://github.com/watcha-fr/synapse
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
412 B
22 lines
412 B
version: '3.1'
|
|
|
|
services:
|
|
|
|
postgres:
|
|
image: postgres:9.5
|
|
environment:
|
|
POSTGRES_PASSWORD: postgres
|
|
command: -c fsync=off
|
|
|
|
testenv:
|
|
image: python:3.7
|
|
depends_on:
|
|
- postgres
|
|
env_file: .env
|
|
environment:
|
|
SYNAPSE_POSTGRES_HOST: postgres
|
|
SYNAPSE_POSTGRES_USER: postgres
|
|
SYNAPSE_POSTGRES_PASSWORD: postgres
|
|
working_dir: /src
|
|
volumes:
|
|
- ..:/src
|
|
|