forked from fedimint/fedimint-observer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 751 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
33 lines (31 loc) · 751 Bytes
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
28
29
30
31
32
33
services:
db:
image: postgres:16
restart: unless-stopped
environment:
POSTGRES_USER: fmo
POSTGRES_PASSWORD: fmo
POSTGRES_DB: fmo
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U fmo -d fmo"]
interval: 5s
timeout: 5s
retries: 5
fmo_server:
image: ghcr.io/elsirion/fedimint-observer:latest
restart: unless-stopped
depends_on:
db:
condition: service_healthy
ports:
- "3000:3000"
environment:
FO_BIND: "0.0.0.0:3000"
FO_DATABASE: "postgres://fmo:fmo@db:5432/fmo"
FO_ADMIN_AUTH: "changeme"
FO_MEMPOOL_URL: "https://mempool.space/api"
RUST_LOG: "info"
volumes:
pgdata: