summaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: f41f4c9195ceef67faa6041383de66602bc3a75f (plain) (blame)
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
services:
  webol:
    image: ghcr.io/fxqnlr/webol:dev-9
    container_name: webol-cli-server
    restart: no
    depends_on:
      - db
    environment:
      - RUST_LOG=info,webol=trace
      - WEBOL_DATABASE_URL=postgres://postgres:postgres@localhost:5432/webol
      - WEBOL_APIKEY=dev
      - WEBOL_SERVERADDR=127.0.0.1:7229
    network_mode: host

  db:
    image: postgres
    container_name: webol-cli-db
    restart: no
    environment:
      POSTGRES_PASSWORD: postgres
      POSTGRES_DB: webol
    volumes:
      - ./postgres-data:/var/lib/postgresql/data
    ports:
      - "5432:5432"