-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
77 lines (68 loc) · 3.5 KB
/
Copy path.env.example
File metadata and controls
77 lines (68 loc) · 3.5 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
71
72
73
74
75
76
77
# .env.example — reference file. To bootstrap:
#
# make init # creates .env and fills random DB passwords (idempotent)
#
# `make init` never overwrites existing values, so it's safe to re-run.
#
# NOTE: unlike a Laravel app, GLPI has no APP_KEY in .env — its encryption key
# (glpicrypt.key) is generated automatically by `database:install` on first
# boot and persisted in the `glpi-config` volume. Never delete that volume;
# back it up (the nightly phpbu job archives the config dir for this reason).
# -----------------------------------------------------------------------
# Image
# -----------------------------------------------------------------------
GLPI_IMAGE_TAG=latest
# -----------------------------------------------------------------------
# Timezone
# -----------------------------------------------------------------------
# Sets the OS clock inside the containers (log + cron timestamps). GLPI's own
# display timezone is set in the UI under Setup > General.
TZ=Europe/Berlin
# -----------------------------------------------------------------------
# Database (passwords filled by `make init`)
# -----------------------------------------------------------------------
GLPI_DB_NAME=glpi
GLPI_DB_USER=glpi
GLPI_DB_PASSWORD=
DB_ROOT_PASSWORD=
# -----------------------------------------------------------------------
# Cache — Valkey (Linux Foundation Redis fork; speaks RESP, so redis:// works)
# -----------------------------------------------------------------------
# Put any auth in the DSN itself (redis://:pw@valkey:6379) AND add
# --requirepass to the valkey command in compose.yml. The bundled valkey has
# no password (reachable only on the internal network).
GLPI_CACHE_DSN=redis://valkey:6379
# -----------------------------------------------------------------------
# GLPI runtime
# -----------------------------------------------------------------------
# production | development | testing (production hides stack traces + toolbar)
GLPI_ENVIRONMENT_TYPE=production
# First boot installs the schema (database:install); later boots upgrade it
# (database:update). Set false to manage install/upgrade by hand.
GLPI_AUTOINSTALL=true
# Skip the on-boot database:update — for multi-replica setups where you run
# the upgrade once, out of band.
SKIP_DB_UPDATE=false
# Language used for the initial install.
GLPI_DEFAULT_LANGUAGE=en_GB
# -----------------------------------------------------------------------
# Networking
# -----------------------------------------------------------------------
# Loopback-published host port for the nginx `web` service. Front with a
# reverse proxy (examples/compose.traefik.yml) for public exposure.
GLPI_HTTP_PORT=8080
# Public hostname — used by examples/compose.traefik.yml and compose.caddy.yml.
GLPI_HOST=glpi.example.com
# -----------------------------------------------------------------------
# Backup (opt-in: `--profile backup`)
# -----------------------------------------------------------------------
# Passphrase for at-rest encryption of every backup archive (phpbu openssl,
# aes-256-cbc + pbkdf2). `make init` fills a random 32-char value. REQUIRED
# once you enable the backup profile — an empty value makes the backup fail.
#
# ⚠ STORE THIS SEPARATELY (password manager / secrets vault). It is NOT kept in
# the backups volume; without it every encrypted archive is unrecoverable.
# Decrypt: openssl enc -d -a -aes-256-cbc -pbkdf2 \
# -pass pass:"$BACKUP_CRYPT_PASSWORD" -in FILE.enc -out FILE.tar.gz
BACKUP_CRYPT_PASSWORD=
# COMPOSE_PROJECT_NAME=glpi