mirror of
https://github.com/wallabag/docker.git
synced 2025-12-21 11:17:33 +01:00
Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 96dd9bc3e3 | |||
| 5bde344da3 | |||
| 36d4bf58db | |||
| e7b0f9c7f6 | |||
| 5a426ce3fa | |||
| 75d1b96cc8 | |||
| b340aaee0a | |||
| d7e49fbda9 | |||
| 8a68a267ed | |||
| 4b00b7f383 | |||
| f1e3a0e2ae | |||
| c2b7c3bbd7 | |||
| 7810ca6255 | |||
| 4f406f1f1f | |||
| 7edde03f39 |
@ -13,7 +13,7 @@ FROM alpine:3.18
|
||||
|
||||
COPY --from=builder /go/bin/envsubst /usr/bin/envsubst
|
||||
|
||||
ARG WALLABAG_VERSION=2.6.3
|
||||
ARG WALLABAG_VERSION=2.6.4
|
||||
|
||||
RUN set -ex \
|
||||
&& apk add --no-cache \
|
||||
@ -34,6 +34,7 @@ RUN set -ex \
|
||||
php81-mbstring \
|
||||
php81-openssl \
|
||||
php81-pecl-amqp \
|
||||
php81-pecl-imagick \
|
||||
php81-pdo_mysql \
|
||||
php81-pdo_pgsql \
|
||||
php81-pdo_sqlite \
|
||||
@ -65,7 +66,7 @@ COPY --from=composer /usr/bin/composer /usr/local/bin/composer
|
||||
COPY root /
|
||||
|
||||
RUN set -ex \
|
||||
&& curl -L -o /tmp/wallabag.tar.gz https://github.com/wallabag/wallabag/archive/$WALLABAG_VERSION.tar.gz \
|
||||
&& curl -L -o /tmp/wallabag.tar.gz https://github.com/wallabag/wallabag/releases/download/$WALLABAG_VERSION/wallabag-$WALLABAG_VERSION.tar.gz \
|
||||
&& tar xvf /tmp/wallabag.tar.gz -C /tmp \
|
||||
&& mkdir /var/www/wallabag \
|
||||
&& mv /tmp/wallabag-*/* /var/www/wallabag/ \
|
||||
|
||||
@ -30,7 +30,7 @@ Default login is `wallabag:wallabag`.
|
||||
- `-e SYMFONY__ENV__MAILER_DSN=...` (defaults to "smtp://127.0.0.1")
|
||||
- `-e SYMFONY__ENV__FROM_EMAIL=...`(defaults to "`wallabag@example.com`", the address wallabag uses for outgoing emails)
|
||||
- `-e SYMFONY__ENV__TWOFACTOR_SENDER=...` (defaults to "`no-reply@wallabag.org`", the address wallabag uses for two-factor emails)
|
||||
- `-e SYMFONY__ENV__FOSUSER_REGISTRATION=...`(defaults to "true", enable or disable public user registration)
|
||||
- `-e SYMFONY__ENV__FOSUSER_REGISTRATION=...`(defaults to "false", 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-instance.wallabag.org`", the URL of your wallabag instance)
|
||||
- `-e SYMFONY__ENV__REDIS_SCHEME=...` (defaults to "tcp", protocol to use to communicate with the target server (tcp, unix, or http))
|
||||
|
||||
@ -23,7 +23,7 @@ parameters:
|
||||
twofactor_sender: ${SYMFONY__ENV__TWOFACTOR_SENDER:-no-reply@wallabag.org}
|
||||
|
||||
# fosuser stuff
|
||||
fosuser_registration: ${SYMFONY__ENV__FOSUSER_REGISTRATION:-true}
|
||||
fosuser_registration: ${SYMFONY__ENV__FOSUSER_REGISTRATION:-false}
|
||||
fosuser_confirmation: ${SYMFONY__ENV__FOSUSER_CONFIRMATION:-true}
|
||||
|
||||
# how long the access token should live in seconds for the API
|
||||
|
||||
@ -52,7 +52,6 @@ def test_accessing_login_page(wallabag_service):
|
||||
assert r.status_code == 200
|
||||
assert 'Log in' in r.text
|
||||
assert 'Password' in r.text
|
||||
assert 'Register' in r.text
|
||||
assert 'Username' in r.text
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user