This is a Docker image for Revive Adserver version 5.5.2.
docker rundocker run command:docker run -d --name=revive-adserver \
-p 8080:80 \
-e DB_HOST=db \
-e DB_USER=your_db_user \
-e DB_PASSWORD=your_db_password \
-e DB_NAME=your_db_name \
-e MYSQL_ROOT_PASSWORD=your_root_password
nakagawadev/revive-adserver:5.5.2-1
Make sure to properly set the environment variables to connect to your database.
If you prefer using docker-compose, you can use the following example of a docker-compose.yml file:
version: '3'
services:
web:
image: nakagawadev/revive-adserver:5.5.2-1
ports:
- "8080:80"
environment:
DB_HOST: db
DB_USER: your_db_user
DB_PASSWORD: your_db_password
DB_NAME: your_db_name
depends_on:
- db
db:
image: mariadb:10.11.7
environment:
MYSQL_ROOT_PASSWORD: tu_password_root
MYSQL_DATABASE: your_db_name
MYSQL_USER: your_db_user
MYSQL_PASSWORD: your_db_password
volumes:
- ./mariadb_data:/var/lib/mysql
ports:
- "3307:3306"
In Database Settings, make sure to enter db in the Database Hostname field.
This container is based on Revive Adserver, which is distributed under GPL v2 License.
Content type
Image
Digest
sha256:63d5afa08…
Size
109.4 MB
Last updated
about 2 years ago
docker pull nakagawadev/revive-adserver