-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
77 lines (73 loc) · 1.73 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
77 lines (73 loc) · 1.73 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
services:
app:
build: .
profiles: ["app"]
restart: "no"
env_file:
- .env
environment:
DATABASE_URL: postgres://root:colibri@postgres:5432/colibri
TAP_HOSTNAME: tap:2480
ROCKET_ADDRESS: 0.0.0.0
ROCKET_PORT: 8000
SFU_ANNOUNCED_IP: 127.0.0.1
SFU_RTC_MIN_PORT: 40000
SFU_RTC_MAX_PORT: 40019
ports:
- "8000:8000"
- "40000-40019:40000-40019/udp"
- "40000-40019:40000-40019/tcp"
depends_on:
postgres:
condition: service_healthy
tap:
condition: service_started
networks:
- internal
postgres:
image: postgres:latest
container_name: postgres
restart: unless-stopped
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: colibri
POSTGRES_DB: colibri
ports:
- "5432:5432"
volumes:
- postgres:/var/lib/postgresql
healthcheck:
test:
[
"CMD-SHELL",
"pg_isready -U ${POSTGRES_USER:-root} -d ${POSTGRES_DB:-colibri}",
]
interval: 2s
timeout: 2s
retries: 10
networks:
- internal
tap:
image: ghcr.io/bluesky-social/indigo/tap:latest
restart: unless-stopped
environment:
TAP_ADMIN_PASSWORD: ${TAP_ADMIN_PASSWORD}
TAP_DATABASE_URL: postgres://root:colibri@postgres:5432/colibri
TAP_SIGNAL_COLLECTION: social.colibri.actor.data
TAP_COLLECTION_FILTERS: social.colibri.*,app.bsky.actor.profile
# TAP_RELAY_URL: https://relay1.eurosky.network
ports:
- "2480:2480"
depends_on:
postgres:
condition: service_healthy
networks:
- internal
# volumes:
# - tap:./data
volumes:
postgres:
driver: local
networks:
internal:
driver: bridge