summaryrefslogtreecommitdiff
path: root/tests/docker/compose.integration.postgres.yaml
blob: ed0952485a955be24c12cb0f4191f3df1508529a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: '2'
services:
  postgres:
    image: postgres:9.5
    environment:
        POSTGRES_USER: postgres
        POSTGRES_PASSWORD: postgres
        POSTGRES_DB: kanboard
    ports:
      - "5432:5432"
  app:
    build:
      context: ../..
      dockerfile: tests/docker/Dockerfile.xenial
    ports:
      - "8000:80"
    depends_on:
      - postgres
    command: config-postgres
  tests:
    build:
      context: ../..
      dockerfile: tests/docker/Dockerfile.xenial
    depends_on:
      - app
    command: integration-test-postgres