Skip to content
Dockerfile for MediaWiki with sSMTP, includes Traefik support, MariaDB, Adminer, Backup.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Docker: MediaWiki

Dockerfile for MediaWiki with sSMTP client.

docker-compose file includes:

  • Traefik support
  • MariaDB
  • Adminer
  • Backup


  1. clone the repo
  2. edit .env file
  3. create ssmtp/ssmtp.conf from provided ssmtp.conf.example

Network settings:

The stack is divided into two networks, backend and frontend.

the idea behind splitting the stack into two networks is to block the access of the reverse proxy to the backend containers.

both networks are unique and will be named with stackname_networname such as:

  • docker-mediawiki_backend
  • docker-mediawiki_frontend

after running docker-compose up you need to connect your reverse proxy to your new frontend network: you can do that manually using:

  • docker network connect docker-mediawiki_frontend PROXY_CONTAINER_NAME

if you are using my Traefik setup there is a '' script included that will connect all your frontend networks to your Traefik container.

You can’t perform that action at this time.