Public Repository

Last pushed: 2 years ago
Short Description
Revive Adserver
Full Description

Base image for Revive Adserver (

Updated to Version 3.1.0 - pull barryflanagan/revive-adserver:v3.1.0

Requires a mysql container as well. I use another container "revive-mysql" for this and then link the ad server container to it

I use a host-based volume for the config file and banner storage. The host directory I use is /var/container_data/revive_adserver/config - if you change this then you should change it in the docker run command as well.

You should set banner storage within Revive to "/config/www/images"

Should be run with

docker run --rm -v /var/container_data/revive_adserver/config:/config -e SMTP_SERVER=<your mail relay> -e EMAIL=<email to send alerts to> -e SITE=<hostname of the site> -e USERNAME=<database user> -e PASSWORD=<database password> --name revive-adserver --link revive-mysql:mysql -p 80:80 barryflanagan/revive-adserver:v3.1.0

Docker Pull Command

Comments (1)
2 years ago

thanks for putting this together. I have not been able to make it work

I'm setting up a mysql container with:

docker run --name revive-mysql -e MYSQL_ROOT_PASSWORD="ROOTPASS" -d mysql:5.7

and run the revive-adserver container with:

docker run --rm -v /var/container_data/revive_adserver/config:/config -e SMTP_SERVER=<mysmtpserver> -e EMAIL=<myemail> -e SITE= -e USERNAME=root -e PASSWORD=<rootpass> --name revive-adserver --link revive-mysql:mysql -p 80:80 barryflanagan/revive-adserver:v3.1.0

however, when I visit my site at (not the actual IP) the admin interface is empty
from the docker logs I can see that the connections with mysql go through, but the apache error log at


gives me:

PHP Fatal error:  Call to undefined method MDB2_Error::quoteIdentifier() in /var/www/revive/lib/OA/Upgrade/VersionController.php on line 36