-
Notifications
You must be signed in to change notification settings - Fork 127
/
docker-compose.yaml
125 lines (121 loc) · 2.96 KB
/
docker-compose.yaml
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
version: '3'
volumes:
dbvol:
driver: local
services:
db:
image: postgres:14.3-alpine
restart: always
environment:
- POSTGRES_USER=bsky
- POSTGRES_PASSWORD=yksb
# intentionally *not* exposing default postgresql port to host (conflicts with other local dev DBs)
command: -p 6543
ports:
- '6543:6543'
expose:
- '6543'
volumes:
- dbvol:/var/lib/postgresql/docker
- ./docker-create-dev-dbs.sql:/docker-entrypoint-initdb.d/create-dev-dbs.sql
healthcheck:
test: ["CMD-SHELL", "pg_isready -p 6543 -U bsky"]
interval: 3s
timeout: 2s
retries: 3
plc:
image: ghcr.io/bluesky-social/did-method-plc:plc-c54aea0373e65df0b87f5bc81710007092f539b1 # DID doc iteration branch
ports:
- "2582:2582"
expose:
- "2582"
environment:
- ENV=dev
- DATABASE_URL=postgres://bsky:yksb@db:6543/plc_dev
- PORT=2582
- DEBUG_MODE=1
- LOG_ENABLED=true
- LOG_LEVEL=info
- LOG_DESTINATION=1
working_dir: /app/packages/server
command: yarn run start
links:
- db
depends_on:
db:
condition: service_healthy
pds-one:
image: ghcr.io/bluesky-social/atproto:pds-19d2bdc4576bfabe6609afe160cc2c220c351579
ports:
- "2583:2583"
expose:
- "2583"
environment:
- ENV=dev
- DB_POSTGRES_URL=postgres://bsky:yksb@db:6543/pds_dev
- AVAILABLE_USER_DOMAINS=.test,.dev.bsky.dev
- DID_PLC_URL=http://plc:2582
- PORT=2583
- DEBUG_MODE=1
- LOG_LEVEL=info
- LOG_ENABLED=true
- LOG_DESTINATION=1
working_dir: /app/packages/pds
command: yarn run start
links:
- db
- plc
depends_on:
db:
condition: service_healthy
plc:
condition: service_started
bgs:
# to build/run locally, uncomment this instead
#build: ../bigsky/
image: ghcr.io/bluesky-social/indigo:bigsky-ed809269938c453ebed3a05487acc6417d77bb4e
ports:
- "2470:2470"
environment:
- ATP_PLC_HOST=http://plc:2582
- ATP_PDS_HOST=http://pds-one:2583
- GOLOG_LOG_LEVEL=info
links:
- db
- plc
- pds-one
depends_on:
db:
condition: service_healthy
plc:
condition: service_started
pds-one:
condition: service_started
appview:
image: ghcr.io/bluesky-social/atproto:bsky-19d2bdc4576bfabe6609afe160cc2c220c351579
ports:
- "2584:2584"
expose:
- "2584"
environment:
- ENV=dev
- DB_POSTGRES_URL=postgres://bsky:yksb@db:6543/bsky_dev
- DID_PLC_URL=http://plc:2582
- PORT=2584
- DEBUG_MODE=1
- LOG_LEVEL=info
- LOG_ENABLED=true
- LOG_DESTINATION=1
working_dir: /app/packages/bsky
command: yarn run start
links:
- db
- plc
- bgs
depends_on:
db:
condition: service_healthy
plc:
condition: service_started
bgs:
condition: service_started