1
0
mirror of https://github.com/wallabag/docker synced 2025-12-13 09:46:27 +00:00

Config: add sentry_dsn entry

This commit is contained in:
Sébastien Viande
2019-06-18 19:50:50 +02:00
parent 8595085d6b
commit e189338065
4 changed files with 8 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ Default login is `wallabag:wallabag`.
- `-e SYMFONY__ENV__REDIS_PORT=...` (defaults to "6379", port of the target host)
- `-e SYMFONY__ENV__REDIS_PATH=...`(defaults to "~", path of the unix socket file)
- `-e SYMFONY__ENV__REDIS_PASSWORD=...` (defaults to "~", this is the password defined in the Redis server configuration)
- `-e SYMFONY__ENV__SENTRY_DSN=...` (defaults to "~", this is the data source name for sentry)
- `-e POPULATE_DATABASE=...`(defaults to "True". Does the DB has to be populated or is it an existing one)
## SQLite

View File

@@ -34,6 +34,7 @@
redis_port: "{{ lookup('env', 'SYMFONY__ENV__REDIS_PORT')|default('6379', true) }}"
redis_path: "{{ lookup('env', 'SYMFONY__ENV__REDIS_PATH')|default('~', true) }}"
redis_password: "{{ lookup('env', 'SYMFONY__ENV__REDIS_PASSWORD')|default('~', true) }}"
sentry_dsn: "{{ lookup('env', 'SYMFONY__ENV__SENTRY_DSN')|default('~', true) }}"
tasks:

View File

@@ -51,3 +51,6 @@ parameters:
redis_port: {{ redis_port }}
redis_path: {{ redis_path }}
redis_password: {{ redis_password }}
# Sentry
sentry: {{ sentry_dsn }}

View File

@@ -59,3 +59,6 @@ parameters:
redis_port: 6379
redis_path: null
redis_password: null
# Sentry
sentry_dsn: ~