summary refs log tree commit diff
path: root/.buildkite/docker-compose.py27.pg94.yaml
blob: 2d4b9eadd99b5f07d31dc6a2d55f6a1cf6a30298 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '3.1'

services:

  postgres:
    image: postgres:9.4
    environment:
      POSTGRES_PASSWORD: postgres

  testenv:
    image: python:2.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