Skip to content

Instantly share code, notes, and snippets.

@pdonorio
Created July 7, 2018 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdonorio/2bf766d0413fd2bea1e0bbe8b4aa4df9 to your computer and use it in GitHub Desktop.
Save pdonorio/2bf766d0413fd2bea1e0bbe8b4aa4df9 to your computer and use it in GitHub Desktop.
Wallabag locally working docker-compose
###############
## 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=~
- SYMFONY__ENV__FROM_EMAIL=wallabag@example.com
- 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