aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: e9d0ec94a2605c3b34e7c55737a5370a49e8f11b (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
27
version: "2"

services:

  clog:
    container_name: clog
    image: clog:latest
    build: .
    ports:
      - "8888:8888"
    environment:
      - POSTGRES_PASSWORD=postgres
    depends_on:
      - postgres

  postgres:
    container_name: clog-postgres
    image: postgres:12-alpine
    volumes:
      - .vols/database:/var/lib/postgresql/data
    ports:
      - "5555:5432"
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
      - POSTGRES_DB=clog