-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathstack.yml
More file actions
52 lines (51 loc) · 1.44 KB
/
stack.yml
File metadata and controls
52 lines (51 loc) · 1.44 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
version: "3.7"
volumes:
data:
capnp-secrets:
secrets:
opam-repo-ci-github-key:
external: true
opam-repo-ci-oauth:
external: true
opam-repo-ci-submission-cap:
external: true
opam-repo-ci-webhook-secret:
external: true
services:
opam-repo-ci:
image: ocurrent/opam-repo-ci:live
command: >
--github-app-id=85861
--github-private-key-file=/run/secrets/opam-repo-ci-github-key
--github-account-allowlist="ocaml"
--confirm=above-average
--confirm-auto-release=120
--capnp-address=tcp:opam-repo.ci.ocaml.org:9000
--github-oauth=/run/secrets/opam-repo-ci-oauth
--submission-service=/run/secrets/opam-repo-ci-submission-cap
--github-webhook-secret-file=/run/secrets/opam-repo-ci-webhook-secret
--verbosity=info
ports:
- '9000:9000'
environment:
- "CI_PROFILE=production"
- "DOCKER_CLI_EXPERIMENTAL=enabled"
volumes:
- 'data:/var/lib/ocurrent'
- 'capnp-secrets:/capnp-secrets'
secrets:
- 'opam-repo-ci-oauth'
- 'opam-repo-ci-github-key'
- 'opam-repo-ci-submission-cap'
- 'opam-repo-ci-webhook-secret'
sysctls:
- 'net.ipv4.tcp_keepalive_time=60'
opam-repo-ci-web:
image: ocurrent/opam-repo-ci-web:live
command: >
--backend=/capnp-secrets/opam-repo-ci-admin.cap
--verbosity=info
volumes:
- 'capnp-secrets:/capnp-secrets:ro'
sysctls:
- 'net.ipv4.tcp_keepalive_time=60'