-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.prod.example
More file actions
28 lines (24 loc) · 1.07 KB
/
Copy path.env.prod.example
File metadata and controls
28 lines (24 loc) · 1.07 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
# OpenClockwork production Docker Compose configuration.
# Copy to .env.prod, replace every change-me value, and keep the file private.
# Pin deployments to an immutable OpenClockwork release. Do not use `latest`
# for production upgrades.
OPENCLOCKWORK_VERSION=1.1.1
# Keep these names unchanged across upgrades.
OPENCLOCKWORK_DB_VOLUME=openclockwork-db-data-prod
OPENCLOCKWORK_ATTACHMENTS_VOLUME=openclockwork-attachments-prod
POSTGRES_USER=openclockwork
POSTGRES_PASSWORD=change-me-database-password
POSTGRES_DB=openclockwork
DATABASE_URL=postgresql://openclockwork:change-me-database-password@db:5432/openclockwork?schema=public
TZ=Europe/Berlin
JWT_SECRET=change-me-long-random-jwt-secret
ERP_API_KEY=change-me-erp-api-key
CRON_API_KEY=change-me-cron-api-key
API_CORS_ORIGINS=https://time.example.com
WEB_PORT=8080
# The production compose stack persists local attachments in a named volume.
# Azure deployments can switch to azure-blob and set both Azure values.
STORAGE_BACKEND=local
ATTACHMENTS_DIR=/app/data/attachments
# AZURE_BLOB_ACCOUNT=
# AZURE_BLOB_CONTAINER=requestattachments