mirror of
https://github.com/wallabag/docker
synced 2025-12-13 17:56:31 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b46fdd314 | ||
|
|
052f98f7ba | ||
|
|
21c4819511 |
@@ -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=~ \
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user