mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-23 14:39:46 -05:00
23 lines
411 B
YAML
23 lines
411 B
YAML
version: '3.1'
|
|
|
|
services:
|
|
|
|
postgres:
|
|
image: postgres:11
|
|
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
|