-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.env.production.example
More file actions
66 lines (50 loc) · 2.47 KB
/
Copy path.env.production.example
File metadata and controls
66 lines (50 loc) · 2.47 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# GatherPack production environment
#
# cp .env.production.example .env
#
# With Komodo, put these in the Stack's Environment section instead of a file.
# Every variable below is read by docker-compose.production.yml.
# --- Required ----------------------------------------------------------------
# Rails session/cookie signing key. Generate with: openssl rand -hex 64
# Changing it invalidates all sessions.
SECRET_KEY_BASE=
# The full public URL of this instance, e.g. https://gather.example.com. Used
# for links in emails, redirects, and Host header validation. Include the
# scheme. Left empty on purpose: a placeholder here would satisfy the compose
# file's required-variable check and boot the app on the wrong hostname.
ROOT_URL=
# Password for the PostgreSQL user. Used by both the app and the bundled
# `db` service — on first boot it is what the database is created with.
DATABASE_PASSWORD=
# HTTP basic auth password for the /jobs background-job dashboard.
JOBS_DASHBOARD_PASSWORD=
# --- TLS ---------------------------------------------------------------------
# Set BOTH to true once GatherPack is behind an HTTPS reverse proxy.
# FORCE_SSL redirects http -> https and marks cookies secure; ASSUME_SSL tells
# Rails the proxy already terminated TLS (without it you get a redirect loop).
# Leave both false while testing over plain HTTP.
FORCE_SSL=false
ASSUME_SSL=false
# --- Optional ----------------------------------------------------------------
# Image to run. Override to use a fork's registry or pin a release.
# GATHERPACK_IMAGE=ghcr.io/gatherpack/gatherpack
# GATHERPACK_TAG=latest
# Host port the web container is published on.
# GATHERPACK_PORT=3000
# To use an external PostgreSQL server, set DATABASE_HOST *and* delete the `db`
# service and its depends_on entries from the compose file — this setting alone
# leaves the bundled database running. The app creates and migrates three
# databases on that server: gatherpack_production, gatherpack_production_versions,
# gatherpack_production_cable — so the user needs CREATEDB.
# DATABASE_HOST=db
# DATABASE_USERNAME=gatherpack
# POSTGRES_VERSION=16-alpine
# Puma sizing. Threads per process and number of processes.
# RAILS_MAX_THREADS=5
# WEB_CONCURRENCY=2
# RAILS_LOG_LEVEL=info
# TZ=UTC
# JOBS_DASHBOARD_USER=gatherpack
# Note: mail (Postmark), OAuth providers, Stripe, and feature flags are NOT
# environment variables. They are configured in the UI at /settings and stored
# in storage/settings.pstore on the `storage` volume.