Giter VIP home page Giter VIP logo

docker-polr's Introduction

Dockerfile for Polr

Example

docker run -d -e MYSQL_ROOT_PASSWORD=something -e MYSQL_USER=someusername -e MYSQL_PASSWORD=somepassword -e MYSQL_DATABASE=somedbname --name polrdb mysql

docker run -d -e [email protected] -e ADMIN_USER=admin -e ADMIN_PASSWORD=letmein -e APP_NAME=Polr -e APP_URL=polr.me -e REG_TYPE=free --link polrdb:mysql cydrobolt/polr

Options

  • DB_HOST - The MySQL host to use (default: uses the 'mysql' link)
  • DB_USER - The MySQL username (default: uses the 'mysql' link)
  • DB_PASS - The MySQL password (default: uses the 'mysql' link)
  • DB_DATABASE - The MySQL database (default: uses the 'mysql' link)
  • APP_URL - The domain name of the app. The docker image currently doesn't support subdirectories (default: polr.me)
  • APP_NAME - The name of the app (default: Polr)
  • SETUP_PASSWORD - The password to access /setup.php (default: none - setup.php is disabled)
  • REG_TYPE - The registration type. Can be 'none' (No Registration) or 'free' (Open Registration)
  • IP_METHOD - The PHP code to determine a user's IP (default: $_SERVER['REMOTE_ADDR'])
  • PRIVATE - Requires users to be logged in to shorten links. Can be 'true' or 'false' (default: false)
  • THEME - The URL of the CSS file for a Bootstrap theme to style Polr. See bootswatch.com for some themes (default: none, default theme)
  • ADMIN_USER - The username of the administrative user (default: admin)
  • ADMIN_PASSWORD - The password of the administrative user (default: secret)
  • ADMIN_EMAIL - The email of the administrative user (default: [email protected])

docker-polr's People

Contributors

alahijani avatar cydrobolt avatar drofawesomeness avatar

Watchers

 avatar  avatar  avatar

Forkers

fflo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.