mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 13:24:11 -05:00
The template deployed but returned a persistent HTTP 500: MARIADB_DATABASE pre-created the wallabag database, so the image entrypoint detected an existing database, skipped bin/console wallabag:install and left an empty schema. Only MARIADB_ROOT_PASSWORD is set now, letting the entrypoint create the database/user and run the installer on first boot (matching the official wallabag docker-compose). Also: - build SYMFONY__ENV__DOMAIN_NAME from the generated domain with the http scheme so assets/redirects match how the domain is served - point SYMFONY__ENV__REDIS_HOST at the wallabag-redis service (default is 'redis', which does not resolve here) - randomize SYMFONY__ENV__SECRET instead of relying on the image's hardcoded default Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
21 lines
541 B
TOML
21 lines
541 B
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
db_root_password = "${password:32}"
|
|
db_password = "${password:32}"
|
|
app_secret = "${password:32}"
|
|
from_email = "wallabag@example.com"
|
|
|
|
[config]
|
|
[[config.domains]]
|
|
serviceName = "wallabag"
|
|
port = 80
|
|
host = "${main_domain}"
|
|
|
|
[config.env]
|
|
MYSQL_ROOT_PASSWORD = "${db_root_password}"
|
|
SYMFONY__ENV__DATABASE_PASSWORD = "${db_password}"
|
|
SYMFONY__ENV__DOMAIN_NAME = "http://${main_domain}"
|
|
SYMFONY__ENV__FROM_EMAIL = "${from_email}"
|
|
SYMFONY__ENV__SERVER_NAME = "wallabag"
|
|
SYMFONY__ENV__SECRET = "${app_secret}"
|