-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
70 lines (53 loc) · 2.45 KB
/
Copy path.env.example
File metadata and controls
70 lines (53 loc) · 2.45 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
67
68
69
70
# =============================================================================
# Application
# =============================================================================
APP_ENV=production
APP_DEBUG=0
# Base URL for the app (no trailing slash). Used for links, redirects, and
# webhook URLs when APP_URL_PUBLIC is not set.
#
# • Direct access with path (e.g. http://web01/webhooks/public):
# APP_URL=http://web01/webhooks/public
#
# • Behind reverse proxy, no path in browser (e.g. https://webhooks.example.com):
# APP_URL=https://webhooks.example.com
#
# • Both: set APP_URL to the proxy URL; direct access is detected automatically.
APP_URL=http://localhost
# Optional. Subpath where the app is served (e.g. webhooks/public for
# http://host/webhooks/public/). Only set if links or redirects are wrong;
# the app usually detects this from the request.
APP_BASE_PATH=
# Optional. Public URL for webhook endpoints shown in the UI and curl examples.
# Set when APP_URL is internal (e.g. http://backend/) but webhooks must be
# called from the internet at a different URL. If unset, APP_URL is used.
APP_URL_PUBLIC=
# Optional. Secret key for signing sessions and cookies. Set to a long random
# string in production.
APP_SECRET=
# =============================================================================
# Database (SQLite by default)
# =============================================================================
DB_DRIVER=sqlite
DB_PATH=data/database.sqlite
# =============================================================================
# Optional: MySQL (when DB_DRIVER=mysql)
# =============================================================================
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_NAME=webhooks
# DB_USER=
# DB_PASSWORD=
# DB_CHARSET=utf8mb4
# =============================================================================
# Optional: Docker publish (scripts/docker-build-push.sh)
# =============================================================================
# Docker Hub and GHCR can use different usernames (e.g. Docker Hub = darknetz, GitHub = Darknetzz).
# DOCKER_IMAGE=darknetz/php-webhooks
# DOCKERHUB_USERNAME=darknetz
# DOCKERHUB_TOKEN=
# GHCR_IMAGE=ghcr.io/Darknetzz/webhooks
# =============================================================================
# Optional: Git repo URL for version link in footer
# =============================================================================
# GIT_REPO_URL=https://github.com/owner/repo