summary refs log tree commit diff
path: root/.buildkite/docker-compose.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.buildkite/docker-compose.yaml')
-rw-r--r--.buildkite/docker-compose.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.buildkite/docker-compose.yaml b/.buildkite/docker-compose.yaml
new file mode 100644

index 0000000000..73d5ccdd5e --- /dev/null +++ b/.buildkite/docker-compose.yaml
@@ -0,0 +1,23 @@ +version: '3.1' + +services: + + postgres: + image: postgres:${POSTGRES_VERSION?} + environment: + POSTGRES_PASSWORD: postgres + POSTGRES_INITDB_ARGS: "--lc-collate C --lc-ctype C --encoding UTF8" + command: -c fsync=off + + testenv: + image: python:${PYTHON_VERSION?} + depends_on: + - postgres + env_file: docker-compose-env + environment: + SYNAPSE_POSTGRES_HOST: postgres + SYNAPSE_POSTGRES_USER: postgres + SYNAPSE_POSTGRES_PASSWORD: postgres + working_dir: /src + volumes: + - ${BUILDKITE_BUILD_CHECKOUT_PATH}:/src