diff --git a/roles/docker-yourls/templates/docker-compose.yml.j2 b/roles/docker-yourls/templates/docker-compose.yml.j2 index dad3c7c2..e1096181 100644 --- a/roles/docker-yourls/templates/docker-compose.yml.j2 +++ b/roles/docker-yourls/templates/docker-compose.yml.j2 @@ -12,10 +12,10 @@ services: ports: - "127.0.0.1:{{http_port}}:80" environment: - YOURLS_DB_HOST: "database:3306" - YOURLS_DB_USER: "yourls" - YOURLS_DB_PASS: "{{yourls_database_password}}" - YOURLS_DB_NAME: "yourls" + YOURLS_DB_HOST: "{{database_host}}:3306" + YOURLS_DB_USER: "{{database_username}}" + YOURLS_DB_PASS: "{{database_password}}" + YOURLS_DB_NAME: "{{database_databasename}}" YOURLS_SITE: "https://{{domain}}" YOURLS_USER: "{{yourls_user}}" YOURLS_PASS: "{{yourls_user_password}}"