This repository was archived by the owner on Apr 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.env
68 lines (53 loc) · 2.43 KB
/
config.env
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
# ------------------------------------------------------------------
# You can safely leave these untouched
# ------------------------------------------------------------------
RHUB_VERSION="0.10"
RABBITMQ_URL="amqp://guest:guest@queue:5672"
REDIS_URL="redis://redis:6379/0"
REDIS_EMAIL_URL="redis://redis:6379/1"
LOGDB_URL="http://logdb:5984/logs"
RHUB_CRAN_MIRROR="https://cloud.r-project.org"
RHUB_ARTIFACTS="local"
JENKINS_ROOT_URL="http://localhost:8080/jenkins"
JENKINS_USER="admin"
# ------------------------------------------------------------------
# HTTPS. You'll need to create the 'nginx.crt' and 'nginx.key'
# secrets to make this work. Then set it to "true".
# ------------------------------------------------------------------
RHUB_HTTPS="false"
# ------------------------------------------------------------------
# GitHub auth. You can leave these untouched for deploying on 127.0.0.1,
# but you'll probably need to update them for a non-local
# deployment. See the digitalocean folder for an example.
# ------------------------------------------------------------------
# Create a GitHub app at https://github.com/settings/developers or
# https://github.com/organizations/<org-name>/settings/applications
# if you use a GitHub organization
GITHUB_CLIENT_ID="d0b3649d316fca3ebc92"
GITHUB_CLIENT_SECRET="68679254184d595b85b1f60772abc93a7f822bbf"
# You need to set these to the host name of your server
RHUB_BUILDER_EXTERNAL_URL="http://127.0.0.1"
RHUB_ARTIFACTS_URL="http://127.0.0.1/artifacts/"
# ------------------------------------------------------------------
# Sending emails. You'll need to update this to be able to send
# notification emails.
# ------------------------------------------------------------------
RHUB_EMAIL_FROM='"R-hub builder" <[email protected]>'
# This must be smtp or mailgun
RHUB_EMAIL_MODE="${RHUB_EMAIL_MODE:-smtp}"
# Send via mailgun HTTP API
MAILGUN_DOMAIN="${MAILGUN_DOMAIN:-<-- put-mailgun-domain-here -->}"
MAILGUN_API_KEY="${MAILGUN_API_KEY:-<-- put-mailgun-api-key-here -->}"
# Send via a generic SMTP server
# Here is an example that works with mailgun:
# RHUB_EMAIL_MODE=smtp
# RHUB_SMTP_SERVER=smtp.mailgun.org
# RHUB_SMTP_PASSWORD=<-- smtp-password -->
# RHUB_SMTP_PORT=465
# RHUB_SMTP_TLS_REQUIRED=true
RHUB_SMTP_SERVER="<-- smtp-server -->"
RHUB_SMTP_USERNAME="<-- smtp-username -->"
RHUB_SMTP_PASSWORD="<-- smtp-password -->"
RHUB_SMTP_PORT="25"
RHUB_SMTP_TLS_REQUIRED="true"