Wallabag docker-compose Template for Container-Station

10.09.2020

Last modified: 10.09.2020
estimated reading time < 1 min

Here is the template I use to create a Wallabag App in QNAPs Container-Station

version: '3'
services:
  wallabag:
    image: wallabag/wallabag
    environment:
      - MYSQL_ROOT_PASSWORD=Xn2Ktvz4
      - SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
      - SYMFONY__ENV__DATABASE_HOST=192.168.1.3
      - SYMFONY__ENV__DATABASE_PORT=3306
      - SYMFONY__ENV__DATABASE_NAME=wallabag
      - SYMFONY__ENV__DATABASE_USER=wallabag
      - SYMFONY__ENV__DATABASE_PASSWORD=wallapass
      - SYMFONY__ENV__DATABASE_CHARSET=utf8mb4
      - SYMFONY__ENV__MAILER_HOST=send.one.com
      - SYMFONY__ENV__MAILER_USER=mail@teeandlars.asia
      - SYMFONY__ENV__MAILER_PASSWORD=Xn2Ktvz4
      - SYMFONY__ENV__FROM_EMAIL=mail@teeandlars.asia
      - SYMFONY__ENV__DOMAIN_NAME=https://wallabag.teeandlars.asia
    ports:
      - 8375:80
    volumes:
      - /share/Container/container-data/wallabag/images:/var/www/wallabag/web/assets/images
  redis:
    image: redis:alpine

I use a Synology DiskStation as Reverse Proxy to make my Apps accessible for the web.

Wallabag needs the following parameters to run:

Headers:

X-Forwarded-Host$server_name
X-Forwarded-Protohttps
X-Forwarded-For$remote_addr
Tags:
Was this article helpful?
Dislike 0
Views: 88

Search