Wallabag docker image

Don’t mean to necro post but I recently struggled with this and have a working solution with SWAG. If you don’t put wallabag in your compose file with swag and other LSIO containers, you need to make sure to have it connect to the network that SWAG is on like this:

networks:
  default:
    external:
      name: <the name of the SWAG network>

More detailed information is on my blog for the curious.
Here is my compose file:

version: '3'
services:
  wallabag:
    image: ikaruswill/wallabag:2.4.2
    container_name: wallabag
    environment:
      - MYSQL_ROOT_PASSWORD=wallaroot
      - SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
      - SYMFONY__ENV__DATABASE_HOST=walla_db
      - 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=127.0.0.1
      - SYMFONY__ENV__MAILER_USER=~
      - SYMFONY__ENV__MAILER_PASSWORD=~
      - SYMFONY__ENV__FROM_EMAIL=wallabag@example.com
      - SYMFONY__ENV__DOMAIN_NAME=https://YOURCUSTOMDOMAIN.com #If using a local host, put your IP and port number in here. If using a reverse proxy, you will need to put in your external port number. 10.10.0.4:80. If you aren't using ssl, then use http://
      - SYMFONY__ENV__SERVER_NAME="Pi Information Station"
      - SYMFONY__ENV__FOSUSER_CONFIRMATION=FALSE
    ports:
      - "8080:80" #i am using LSIO SWAG so my external port is 8080 but you can use any value. If you have no other services using port 80, then 80:80 can be used.
    volumes:
      - /path/where/you/save_data/images:/var/www/wallabag/web/assets/images
  walla_db:
    image: mariadb
    environment:
      - MYSQL_ROOT_PASSWORD=wallaroot
    volumes:
      - /path/where/you/save_data/data:/var/lib/mysql
  redis:
    image: redis:alpine