Skip to content

Commit

Permalink
Merge pull request #89 from wallabag/wallabag-23
Browse files Browse the repository at this point in the history
Updated image to wallabag 2.3.0
  • Loading branch information
nicosomb authored Dec 13, 2017
2 parents 434b17c + e545611 commit 6a7bbbb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:edge

LABEL maintainer "Marvin Steadfast <[email protected]>"

ARG WALLABAG_VERSION=2.2.3
ARG WALLABAG_VERSION=2.3.0

RUN set -ex \
&& apk update \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]", the address wallabag uses for outgoing emails)
- `-e SYMFONY__ENV__FOSUSER_REGISTRATION=...`(defaults to "true", enable or disable public user registration)
- `-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)

## SQLite
Expand Down Expand Up @@ -59,7 +60,7 @@ $ docker run --name wallabag --link wallabag-db:wallabag-db -e "MYSQL_ROOT_PASSW
For using PostgreSQL you have to define some environment variables with the container. Example:

```
$ docker run --name wallabag-db -e "POSTGRES_PASSWORD=my-secret-pw" -e "POSTGRES_USER=my-super-user" -d postgres
$ docker run --name wallabag-db -e "POSTGRES_PASSWORD=my-secret-pw" -e "POSTGRES_USER=my-super-user" -d postgres:9.6
$ docker run --name wallabag --link wallabag-db:wallabag-db -e "POSTGRES_PASSWORD=my-secret-pw" -e "POSTGRES_USER=my-super-user" -e "SYMFONY__ENV__DATABASE_DRIVER=pdo_pgsql" -e "SYMFONY__ENV__DATABASE_HOST=wallabag-db" -e "SYMFONY__ENV__DATABASE_PORT=5432" -e "SYMFONY__ENV__DATABASE_NAME=wallabag" -e "SYMFONY__ENV__DATABASE_USER=wallabag" -e "SYMFONY__ENV__DATABASE_PASSWORD=wallapass" -p 80:80 wallabag/wallabag
```

Expand Down
1 change: 1 addition & 0 deletions root/etc/ansible/entrypoint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
mailer_password: "{{ lookup('env', 'SYMFONY__ENV__MAILER_PASSWORD')|default('~', true) }}"
from_email: "{{ lookup('env', 'SYMFONY__ENV__FROM_EMAIL')|default('[email protected]', true) }}"
registration: "{{ lookup('env', 'SYMFONY__ENV__FOSUSER_REGISTRATION')|default('true', true) }}"
domain_name: "{{ lookup('env', 'SYMFONY__ENV__DOMAIN_NAME')|default('https://your-wallabag-url-instance.com', true) }}"

tasks:

Expand Down
5 changes: 2 additions & 3 deletions root/etc/ansible/templates/parameters.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ parameters:
database_socket: null
database_charset: utf8

domain_name: {{ domain_name }}

mailer_transport: smtp
mailer_host: {{ mailer_host }}
mailer_user: {{ mailer_user }}
Expand Down Expand Up @@ -45,6 +47,3 @@ parameters:
redis_port: 6379
redis_path: null
redis_password: null

# sites credentials
sites_credentials: {}
5 changes: 2 additions & 3 deletions root/var/www/wallabag/app/config/parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ parameters:
database_socket: null
database_charset: utf8

domain_name: https://your-wallabag-url-instance.com

test_database_driver: pdo_sqlite
test_database_host: 127.0.0.1
test_database_port: ~
Expand Down Expand Up @@ -53,6 +55,3 @@ parameters:
redis_port: 6379
redis_path: null
redis_password: null

# sites credentials
sites_credentials: {}
2 changes: 1 addition & 1 deletion tests/docker-compose.postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
ports:
- "127.0.0.1:80:80"
db:
image: postgres
image: postgres:9.6
environment:
- POSTGRES_PASSWORD=my-secret-pw
- POSTGRES_USER=my-super-user

0 comments on commit 6a7bbbb

Please sign in to comment.