mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 13:10:20 +00:00
21 lines
386 B
YAML
21 lines
386 B
YAML
version: '3.1'
|
|
|
|
services:
|
|
|
|
postgres:
|
|
image: postgres:9.4
|
|
environment:
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
testenv:
|
|
image: python:3.5
|
|
depends_on:
|
|
- postgres
|
|
env_file: .env
|
|
environment:
|
|
SYNAPSE_POSTGRES_HOST: postgres
|
|
SYNAPSE_POSTGRES_USER: postgres
|
|
SYNAPSE_POSTGRES_PASSWORD: postgres
|
|
working_dir: /app
|
|
volumes:
|
|
- ..:/app
|