Create .env

This commit is contained in:
Eddy
2025-10-10 15:00:14 +02:00
committed by GitHub
parent a84c081ed0
commit ef5c496def

28
whmcs-dokploy/.env Normal file
View File

@@ -0,0 +1,28 @@
# All of the variables provided here will configure everything for initial installation
# You don't need to edit or change anything inside docker-compose.yml
# Domain used to access WHMCS
DOMAIN=
# Basic auth for WHMCS /admin page. Run command:
# docker run --rm --entrypoint htpasswd httpd:latest -Bbn YOUR_USER_HERE YOUR_PASSWORD_HERE | sed -e s/\\$/\\$\\$/g
# Use the generated output by replacing the default value here
BASIC_AUTH_CREDENTIALS=user:$$2y$$05$$ejHwqQSD.4wRcCzs57E8/eQLyXeVOqBu1hXwFkPngxyF.FvRq1vo6
# Default credentials. username: user password: pass
# Database name
MYSQL_DATABASE=whmcs
# Database user
MYSQL_USER=whmcs
# Database user's password
MYSQL_PASSWORD=
# Database's root user password
MYSQL_ROOT_PASSWORD=
# For trusting Traefik's internal IP to pass real user's IP to WHMCS
TRAEFIK_SUBNET=
# Used by WHMCS, this IP will appear in you WHMCS license
# Recommended to set it, otherwise internal container IP is used which can change after restart
PUBLIC_SERVER_IP=