Revive Adserver does not provide an official Docker image, but you can run it in containers using a PHP Apache image and a database container. This is suitable for testing and small deployments.
If you do not have Docker yet, see Docker Setup and Docker Compose.
Create a docker-compose.yml file and place the Revive Adserver release files in ./app.
services:
db:
image: mariadb:11
environment:
MYSQL_DATABASE: revive
MYSQL_USER: revive
MYSQL_PASSWORD: change-me
MYSQL_ROOT_PASSWORD: change-me
volumes:
- db_data:/var/lib/mysql
app:
image: php:8.2-apache
volumes:
- ./app:/var/www/html
ports:
- "8087:80"
depends_on:
- db
volumes:
db_data:
Start the stack:
docker compose up -d
Then open http://localhost:8087 and finish the web installer.
Running containers in production? We help with:
Need help? office@linux-server-admin.com or Contact Us