relay filter/appview bootstrap
1services:
2 postgres:
3 image: postgres:18-alpine
4 environment:
5 POSTGRES_USER: postgres
6 POSTGRES_PASSWORD: postgres
7 POSTGRES_DB: prism
8 volumes:
9 - postgres_data:/var/lib/postgresql/data
10 ports:
11 - "5432:5432"
12 healthcheck:
13 test: ["CMD-SHELL", "pg_isready -U postgres"]
14 interval: 5s
15 timeout: 5s
16 retries: 5
17
18 tap:
19 image: ghcr.io/bluesky-social/indigo:tap-latest
20 environment:
21 TAP_UPSTREAM_RELAY: ${TAP_UPSTREAM_RELAY:-wss://bsky.network}
22 TAP_SIGNAL_COLLECTION: ${TAP_SIGNAL_COLLECTION:-systems.gmstn.development.lattice}
23 TAP_COLLECTION_FILTERS: ${TAP_COLLECTION_FILTERS:-systems.gmstn.development.*}
24 TAP_HTTP_ADDR: 0.0.0.0:8080
25 TAP_WS_ADDR: 0.0.0.0:2480
26 ports:
27 - "8080:8080"
28 - "2480:2480"
29 restart: unless-stopped
30
31 prism:
32 build: .
33 environment:
34 DATABASE_URL: postgres://postgres:postgres@postgres:5432/prism
35 TAP_WS_URL: ws://tap:2480/channel
36 HOST: 0.0.0.0
37 PORT: 3000
38 RUST_LOG: prism=debug,tower_http=debug
39 ports:
40 - "3000:3000"
41 depends_on:
42 postgres:
43 condition: service_healthy
44 tap:
45 condition: service_started
46 restart: unless-stopped
47
48volumes:
49 postgres_data: