forked from radicle-dev/radicle-client-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (81 loc) · 2.26 KB
/
docker-compose.yml
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
version: "3.7"
services:
http-api:
image: gcr.io/radicle-services/http-api:latest
build:
dockerfile: ./http-api/Dockerfile
context: .
volumes:
- $HOME/.radicle:/app/radicle:ro
environment:
RUST_LOG: info
init: true
container_name: http-api
restart: unless-stopped
networks:
- radicle-services
org-node:
image: gcr.io/radicle-services/org-node:latest
build:
dockerfile: ./org-node/Dockerfile
context: .
ports:
- 8776:8776/udp
volumes:
- $HOME/.radicle:/app/radicle
environment:
RUST_LOG: org-node=debug,info
init: true
container_name: org-node
restart: unless-stopped
command: ["--orgs", $RADICLE_ORGS, "--subgraph", "https://gateway.thegraph.com/api/1758a78ae257ad4906f9c638e4a68c19/subgraphs/id/0x2f0963e77ca6ac0c2dad1bf4147b6b40e0dd8728-0", "--rpc-url", $ETH_RPC_URL, '--influxdb', 'http://influxdb:8086', '--influxdb-token', $RADICLE_INFLUXDB_TOKEN]
networks:
- radicle-services
git-server:
image: gcr.io/radicle-services/git-server:latest
build:
dockerfile: ./git-server/Dockerfile
context: .
volumes:
- $HOME/.radicle:/app/radicle
environment:
- RUST_LOG=hyper=warn,debug
init: true
container_name: git-server
restart: unless-stopped
networks:
- radicle-services
caddy:
image: caddy:2.4.5
ports:
- 80:80
- 443:443
- 8777:8777
- 8086:8086
volumes:
- $PWD/Caddyfile:/etc/caddy/Caddyfile:ro
environment:
- RADICLE_DOMAIN=$RADICLE_DOMAIN
container_name: caddy
restart: unless-stopped
networks:
- radicle-services
influxdb:
image: influxdb:2.0
container_name: influxdb
restart: unless-stopped
networks:
- radicle-services
volumes:
- $HOME/.radicle/influxdb:/var/lib/influxdb2
environment:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=admin
- DOCKER_INFLUXDB_INIT_PASSWORD=${RADICLE_INFLUXDB_PASSWORD}
- DOCKER_INFLUXDB_INIT_ORG=radicle
- DOCKER_INFLUXDB_INIT_BUCKET=client-services
- DOCKER_INFLUXDB_INIT_RETENTION=30d
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=${RADICLE_INFLUXDB_TOKEN}
networks:
radicle-services:
name: radicle-services