-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
33 lines (30 loc) · 983 Bytes
/
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
version: "3.7"
services:
observer:
image: ocurrent/ocurrent-observer:live
command: --slack /run/secrets/ocaml-org-deployer-slack --github-oauth /run/secrets/ocurrent-observer-oauth.json www.ocaml.org,opam.ocaml.org,images.ci.ocaml.org,deploy.ci.ocaml.org,opam-repo.ci.ocaml.org,watch.ocaml.org,staging.docs.ci.ocaml.org,docs.ci.ocaml.org,staging.ocaml.org,v2.ocaml.org
restart: always
volumes:
- "observer_data:/var/lib/ocurrent-observer"
sysctls:
- "net.ipv4.tcp_keepalive_time=60"
secrets:
- ocaml-org-deployer-slack
- ocurrent-observer-oauth.json
networks:
- observer
volumes:
observer_data:
networks:
observer:
name: observer
enable_ipv6: true
ipam:
config:
- subnet: 2a00:1c10:3:63b::/64
gateway: 2a00:1c10:3:63b::1
secrets:
ocaml-org-deployer-slack:
file: secrets/ocaml-org-deployer-slack
ocurrent-observer-oauth.json:
file: secrets/ocurrent-observer-oauth.json