1
0
mirror of https://github.com/wallabag/docker synced 2025-12-13 17:56:31 +00:00

3 Commits
2.0.1 ... 2.0.2

Author SHA1 Message Date
Marvin Steadfast
7b46fdd314 Fixed bug with entrypoint
The entrypoint didnt triggered the install script if there is no
sqlitedb.
2016-04-22 14:20:04 +02:00
Marvin Steadfast
052f98f7ba new version 2.0.2 2016-04-21 15:53:01 +02:00
Marvin Steadfast
21c4819511 fixed typo 2016-04-21 15:50:09 +02:00
3 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
FROM alpine:edge FROM alpine:edge
MAINTAINER Marvin Steadfast <marvin@xsteadfastx.org> MAINTAINER Marvin Steadfast <marvin@xsteadfastx.org>
ENV WALLABAG_VERSION=2.0.1 \ ENV WALLABAG_VERSION=2.0.2 \
SYMFONY__ENV__DATABASE_DRIVER=pdo_sqlite \ SYMFONY__ENV__DATABASE_DRIVER=pdo_sqlite \
SYMFONY__ENV__DATABASE_HOST=127.0.0.1 \ SYMFONY__ENV__DATABASE_HOST=127.0.0.1 \
SYMFONY__ENV__DATABASE_PORT=~ \ SYMFONY__ENV__DATABASE_PORT=~ \

View File

@@ -44,7 +44,7 @@ $ docker run --name wallabag --link wallabag-db:wallabag-db -e "MYSQL_ROOT_PASSW
## docker-compose ## docker-compose
Its a good way to use [docker-compose](https://docs.docker.com/compose/). Example: It's a good way to use [docker-compose](https://docs.docker.com/compose/). Example:
``` ```
version: '2' version: '2'

View File

@@ -31,6 +31,7 @@
- name: notify install for sqlite - name: notify install for sqlite
debug: debug:
msg='notify installation script if sqlite db does not exist' msg='notify installation script if sqlite db does not exist'
changed_when: true
notify: run install notify: run install
when: (database_driver == 'pdo_sqlite') and when: (database_driver == 'pdo_sqlite') and
(wallabag_sqlite_db.stat.exists == False) (wallabag_sqlite_db.stat.exists == False)