summary refs log tree commit diff
path: root/.buildkite/docker-compose.py37.pg95.yaml
blob: 7679f6508d12e678201cd937f4b6d764d3d0c399 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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: /app
    volumes:
      - ..:/app