Added database variables

This commit is contained in:
Kevin Veen-Birkenbach 2024-01-03 17:02:41 +01:00
parent a6670ddb01
commit cd87e7a38c

View File

@ -12,10 +12,10 @@ services:
ports: ports:
- "127.0.0.1:{{http_port}}:80" - "127.0.0.1:{{http_port}}:80"
environment: environment:
YOURLS_DB_HOST: "database:3306" YOURLS_DB_HOST: "{{database_host}}:3306"
YOURLS_DB_USER: "yourls" YOURLS_DB_USER: "{{database_username}}"
YOURLS_DB_PASS: "{{yourls_database_password}}" YOURLS_DB_PASS: "{{database_password}}"
YOURLS_DB_NAME: "yourls" YOURLS_DB_NAME: "{{database_databasename}}"
YOURLS_SITE: "https://{{domain}}" YOURLS_SITE: "https://{{domain}}"
YOURLS_USER: "{{yourls_user}}" YOURLS_USER: "{{yourls_user}}"
YOURLS_PASS: "{{yourls_user_password}}" YOURLS_PASS: "{{yourls_user_password}}"