Created
July 7, 2018 08:38
-
-
Save pdonorio/2bf766d0413fd2bea1e0bbe8b4aa4df9 to your computer and use it in GitHub Desktop.
Wallabag locally working docker-compose
This file contains hidden or 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
############### | |
## BEFORE | |
# add '127.0.0.1 dev.domain.io' to your /etc/hosts | |
## CLEAN | |
# docker-compose down -v && rm -rf data images | |
############### | |
version: '3' | |
services: | |
wallabag: | |
image: wallabag/wallabag:2.3.2 | |
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] | |
- SYMFONY__ENV__DOMAIN_NAME=http://dev.domain.io | |
ports: | |
- "80:80" | |
volumes: | |
- ./images:/var/www/wallabag/web/assets/images | |
db: | |
image: mariadb | |
environment: | |
- MYSQL_ROOT_PASSWORD=wallaroot | |
volumes: | |
- ./data:/var/lib/mysql | |
redis: | |
image: redis:alpine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment