-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
82 lines (81 loc) · 2.35 KB
/
Copy pathdocker-compose.yml
File metadata and controls
82 lines (81 loc) · 2.35 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
78
79
80
81
82
services:
sockethub:
build:
context: .
target: prod
environment:
- REDIS_URL=redis://redis:6379
# This compose file is the dev/CI harness; its feed fixtures are
# served from loopback, which the feeds SSRF guard blocks by
# default. The mounted config enables the feeds escape hatch via
# packageConfig. Never enable it in production.
- SOCKETHUB_CONFIG=/app/sockethub.ci.config.json
volumes:
- ./integration/sockethub.ci.config.json:/app/sockethub.ci.config.json:ro
ports:
- "10550:10550"
networks:
- sockethub-net
depends_on:
- redis
redis:
image: redis
ports:
- "127.0.0.1:6379:6379"
networks:
- sockethub-net
prosody:
image: prosody/prosody:latest
user: prosody
ports:
- "5222:5222"
volumes:
- ./integration/prosody:/etc/prosody
entrypoint: [ "/bin/bash", "/etc/prosody/start.sh" ]
networks:
- sockethub-net
ergo:
image: ghcr.io/ergochat/ergo:stable
ports:
- "6667:6667"
volumes:
- ./integration/ergo:/ircd-config:ro
entrypoint: [ "/bin/sh", "/ircd-config/bootstrap.sh" ]
networks:
- sockethub-net
depends_on:
- mock-oauth
mock-oauth:
image: node:22-alpine
working_dir: /app
volumes:
- ./integration/mock-oauth:/app:ro
command: [ "node", "server.js" ]
networks:
- sockethub-net
radicale:
build:
context: ./integration/radicale
healthcheck:
test: [ "CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:5232/" ]
interval: 1s
timeout: 2s
retries: 20
ports:
- "127.0.0.1:5232:5232"
networks:
- sockethub-net
baikal:
build:
context: ./integration/baikal
healthcheck:
test: [ "CMD", "php", "-r", "exit(@fsockopen('127.0.0.1', 80) ? 0 : 1);" ]
interval: 1s
timeout: 2s
retries: 20
ports:
- "127.0.0.1:5233:80"
networks:
- sockethub-net
networks:
sockethub-net: