Public | Automated Build

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

Docker-phpADNSite

This is a Docker container for running phpADNSite, based on Docker-PHPAppBase.

You need to specify your App.net username and an App.net access token as parameters when running the container. The phpADNSite documentation contains more information about generating an appropriate access token as well as further background information.

Your site will launch with the bootstrap-default theme. If you want to use a different theme, specify the THEME environment variable when running the container, e.g. -e THEME=bootstrap-sidebar. All phpADNSite plugins that are part of the default distribution are enabled in this Docker image with the default configuration file.

If you need a custom configuration file, you can use the following setup:

  1. Upload the configuration file to your App.net account's file storage. You must not make it public because it contains your token.
  2. Specify the STORED_CONFIG_FILENAME environment variable when running the container, e.g. -e STORED_CONFIG_FILENAME=config.php.
  3. As first step when the container is started it will automatically make an authenticated request against the App.net API to retrieve your configuration file and store it in the appropriate location.
  4. If you have made updates to your configuration file, simply restart the container.

Usage:

docker run -d -p 80:80 lukasros/phpadnsite {username} {accessToken}

Like it?! If you want to say thanks, why not flattr me? :)

Docker Pull Command
Owner
lukasros
Source Repository

Comments (0)