Skip to content

jitesoft/docker-revive-adserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Revive adserver

This image contains revive adserver and php-fpm.
The current php version is php 7.4

Included in the build is a modified 'async.js' script, which uses events to check for DOM changes allowing AD slots to be added after loading the revive scripts.
The new script is set to default async.js script in the dynamic configuration.
To change to the default async.js file, set the REVIVE_ASYNC_JS_SCRIPT env variable to async (rather than default new-async).

Configuration

For full configuration, create a domain specific configuration and mount it to the /var/www/html/var/<domain>.conf.php.

The default configuration is modified by usage of environment variables. It will be generated in the /var/www/html/var/${REVIVE_DOMAIN}.conf.php file in case the file does not already exist (by mounting it).

Some variables have a default value, while most should be set to allow the creation of the configuration.

The following variables are available:

REVIVE_APPLICATION_NAME (defaults to Revive)
REVIVE_COMPANY
REVIVE_DOMAIN
REVIVE_DB_HOST
REVIVE_DB_PORT
REVIVE_DB_USER
REVIVE_DB_PASSWORD
REVIVE_DB_DATABASE
REVIVE_DB_TYPE (defaults to mysqli)
REVIVE_DB_PREFIX (defaults to rv_)
REVIVE_DELIVERY_SECRET (defaults to random non crypto secure b64 string)
REVIVE_ASYNC_JS_SCRIPT (defaults to new-async)

For full configuration, check the conf.tmpl file.
You can replace the conf.tmpl file by overwriting the /usr/local/conf.tmpl file with your own.

Persist images

To persist uploaded images, mount the /var/www/html/rv_images directory.
To persist plugins, mount the /var/www/html/plugins directory.

Tags:

Images are built for amd64 and aarch64, versions are based on the version of revive as of the build time.

Images can be found at:

  • DockerHub
    • docker.io/revive-adserver
  • GitLab
    • registry.gitlab.com/jitesoft/dockerfiles/revive-adserver
  • GitHub
    • ghcr.io/jitesoft/revive-adserver

Image labels

This image follows the Jitesoft image label specification 1.0.0.

License

The files in this repository are released under the MIT license.
Revive adserver is released under GNUv2.

Sponsors

Jitesoft images are built via GitLab CI on runners hosted by the following wonderful organisations:

Fosshost logo Aarch64 logo

The companies above are not affiliated with Jitesoft or any Jitesoft Projects directly.


Sponsoring is vital for the further development and maintaining of open source.
Questions and sponsoring queries can be made by email.
If you wish to sponsor our projects, reach out to the email above or visit any of the following sites:

Open Collective
GitHub Sponsors
Patreon