mirror of
https://github.com/wallabag/docker
synced 2025-12-13 09:46:27 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf0316bac6 | ||
|
|
ae7aefe8e4 | ||
|
|
ef910d313c | ||
|
|
51e3b625c0 | ||
|
|
dcaa684897 | ||
|
|
6edcd745c4 | ||
|
|
7a476cdab0 | ||
|
|
b67e80a9f8 |
@@ -2,7 +2,7 @@ FROM alpine:edge
|
||||
|
||||
LABEL maintainer "Marvin Steadfast <marvin@xsteadfastx.org>"
|
||||
|
||||
ARG WALLABAG_VERSION=2.3.0
|
||||
ARG WALLABAG_VERSION=2.3.1
|
||||
|
||||
RUN set -ex \
|
||||
&& apk update \
|
||||
|
||||
@@ -29,6 +29,7 @@ Default login is `wallabag:wallabag`.
|
||||
- `-e SYMFONY__ENV__MAILER_PASSWORD=...`(defaults to "~", the SMTP password)
|
||||
- `-e SYMFONY__ENV__FROM_EMAIL=...`(defaults to "wallabag@example.com", the address wallabag uses for outgoing emails)
|
||||
- `-e SYMFONY__ENV__FOSUSER_REGISTRATION=...`(defaults to "true", enable or disable public user registration)
|
||||
- `-e SYMFONY__ENV__FOSUSER_CONFIRMATION=...`(defaults to "true", enable or disable registration confirmation)
|
||||
- `-e SYMFONY__ENV__DOMAIN_NAME=...` defaults to "https://your-wallabag-url-instance.com", the URL of your wallabag instance)
|
||||
- `-e POPULATE_DATABASE=...`(defaults to "True". Does the DB has to be populated or is it an existing one)
|
||||
|
||||
|
||||
@@ -13,13 +13,16 @@
|
||||
database_root_user_postgres: "{{ lookup('env', 'POSTGRES_USER') }}"
|
||||
database_root_password_postgres: "{{ lookup('env', 'POSTGRES_PASSWORD') }}"
|
||||
database_user: "{{ lookup('env', 'SYMFONY__ENV__DATABASE_USER')|default('root', true) }}"
|
||||
database_charset: "{{ lookup('env', 'SYMFONY__ENV__DATABASE_CHARSET')|default('utf8', true) }}"
|
||||
populate_database: "{{ lookup('env', 'POPULATE_DATABASE')|default(True, true) }}"
|
||||
locale: "{{ lookup('env', 'SYMFONY__ENV__LOCALE')|default('en', true) }}"
|
||||
secret: "{{ lookup('env', 'SYMFONY__ENV__SECRET')|default('ovmpmAWXRCabNlMgzlzFXDYmCFfzGv', true) }}"
|
||||
mailer_host: "{{ lookup('env', 'SYMFONY__ENV__MAILER_HOST')|default('127.0.0.1', true) }}"
|
||||
mailer_user: "{{ lookup('env', 'SYMFONY__ENV__MAILER_USER')|default('~', true) }}"
|
||||
mailer_password: "{{ lookup('env', 'SYMFONY__ENV__MAILER_PASSWORD')|default('~', true) }}"
|
||||
from_email: "{{ lookup('env', 'SYMFONY__ENV__FROM_EMAIL')|default('wallabag@example.com', true) }}"
|
||||
registration: "{{ lookup('env', 'SYMFONY__ENV__FOSUSER_REGISTRATION')|default('true', true) }}"
|
||||
registration_mail_confirmation: "{{ lookup('env', 'SYMFONY__ENV__FOSUSER_CONFIRMATION')|default('true', true) }}"
|
||||
domain_name: "{{ lookup('env', 'SYMFONY__ENV__DOMAIN_NAME')|default('https://your-wallabag-url-instance.com', true) }}"
|
||||
|
||||
tasks:
|
||||
|
||||
@@ -8,7 +8,8 @@ parameters:
|
||||
database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite"
|
||||
database_table_prefix: wallabag_
|
||||
database_socket: null
|
||||
database_charset: utf8
|
||||
database_charset: {{ database_charset }}
|
||||
database_driver_class: null
|
||||
|
||||
domain_name: {{ domain_name }}
|
||||
|
||||
@@ -17,7 +18,7 @@ parameters:
|
||||
mailer_user: {{ mailer_user }}
|
||||
mailer_password: {{ mailer_password }}
|
||||
|
||||
locale: en
|
||||
locale: {{ locale }}
|
||||
|
||||
# A secret key that's used to generate certain security-related tokens
|
||||
secret: {{ secret }}
|
||||
@@ -28,7 +29,7 @@ parameters:
|
||||
|
||||
# fosuser stuff
|
||||
fosuser_registration: {{ registration }}
|
||||
fosuser_confirmation: true
|
||||
fosuser_confirmation: {{ registration_mail_confirmation }}
|
||||
|
||||
from_email: {{ from_email }}
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ parameters:
|
||||
database_table_prefix: wallabag_
|
||||
database_socket: null
|
||||
database_charset: utf8
|
||||
database_driver_class: null
|
||||
|
||||
domain_name: https://your-wallabag-url-instance.com
|
||||
|
||||
|
||||
Reference in New Issue
Block a user