Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
42 lines (36 loc) · 1.79 KB
/
Copy path.env.example
File metadata and controls
42 lines (36 loc) · 1.79 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
# Copy this file to .env and fill in real values before the first start:
#
# cp .env.example .env
# docker compose up -d --build
#
# .env is gitignored. Every value below must be changed before you expose this
# deployment to anything but your own machine.
# ---------------------------------------------------------------------------
# Admin UI login
# ---------------------------------------------------------------------------
# The user name is always "admin". This password seeds the account on the very
# first start; changing it later has no effect, use the admin UI instead.
CONNECT_IT_ADMIN_PASSWORD=admin
# ---------------------------------------------------------------------------
# Secrets
# ---------------------------------------------------------------------------
# AES-256-GCM keyring protecting stored credentials, in the form
# "<version>:<64-char-hex>". Losing this key makes every stored credential
# unrecoverable.
# Generate: echo "1:$(openssl rand -hex 32)"
CONNECT_IT_SECRET_KEY=1:0000000000000000000000000000000000000000000000000000000000000000
# HMAC secret signing the admin session cookie.
# Generate: openssl rand -hex 32
COOKIE_SECRET=change-me-cookie-secret
# Password of the bundled postgres database.
# Generate: openssl rand -hex 16
POSTGRES_PASSWORD=change-me-postgres-password
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
# Publicly reachable base URL. OAuth callback URLs are built from it, so it
# must match what providers redirect back to. Behind a domain or reverse proxy,
# set the external address, e.g. https://connect.example.com
CONNECT_IT_BASE_URL=http://localhost:8421
# Host port the admin UI and APIs are published on.
CONNECT_IT_PORT=8421