Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #125 from nurse-curtis/master
Browse files Browse the repository at this point in the history
Tidy up wallabag
  • Loading branch information
nurse-curtis authored May 16, 2017
2 parents a5f892a + 65f9fb8 commit 06a5ebf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.
5 changes: 0 additions & 5 deletions wallabag/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ LABEL org.freenas.interactive="false" \
\"descr\": \"port of the database host\", \
\"optional\": true \
}, \
{ \
\"env\": \"TZ\", \
\"descr\": \"Timezone - eg Europe/London\", \
\"optional\": true \
}, \
{ \
\"env\": \"SYMFONY__ENV__DATABASE_NAME\", \
\"descr\": \"defaults to "symfony", this is the name of the database to use\", \
Expand Down
38 changes: 2 additions & 36 deletions wallabag/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

With this application you will not miss content anymore. Click, save, read it when you want. It saves the content you select so that you can read it when you have time.

Client's for Android and iOS. Has plugins for most browsers.

# How to use this image

Default login is `wallabag:wallabag`.
Expand Down Expand Up @@ -81,42 +83,6 @@ Or you can start the container with the new image and run the migration command
```
$ docker exec -t NAME_OR_ID_OF_YOUR_WALLABAG_CONTAINER /var/www/wallabag/bin/console doctrine:migrations:migrate --env=prod --no-interaction
```

## docker-compose

It's a good way to use [docker-compose](https://docs.docker.com/compose/). Example:

```
version: '3'
services:
wallabag:
image: wallabag/wallabag
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
- SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
- SYMFONY__ENV__DATABASE_HOST=db
- SYMFONY__ENV__DATABASE_PORT=3306
- SYMFONY__ENV__DATABASE_NAME=wallabag
- SYMFONY__ENV__DATABASE_USER=wallabag
- SYMFONY__ENV__DATABASE_PASSWORD=wallapass
- SYMFONY__ENV__MAILER_HOST=127.0.0.1
- SYMFONY__ENV__MAILER_USER=~
- SYMFONY__ENV__MAILER_PASSWORD=~
- [email protected]
ports:
- "80"
db:
image: mariadb
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
volumes:
- /opt/wallabag:/var/lib/mysql
redis:
image: redis:alpine
```

Note that you must fill out the mail related variables according to your mail config.

## nginx

I use nginx to make wallabag public available. This is a example how to use it:
Expand Down

0 comments on commit 06a5ebf

Please sign in to comment.