This repository has been archived by the owner on Feb 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from nurse-curtis/master
Tidy up wallabag
- Loading branch information
Showing
2 changed files
with
2 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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`. | ||
|
@@ -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: | ||
|