GitXplorerGitXplorer
d

docker-intranet

public
4 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
8f60c9269424c0eec5793b82ce2f76a28606cf23

Fix .htpasswd generation defaults

ddfrankland committed 8 years ago
Unverified
f96d2aeff3b2c6a63fcd7c8a885853c5b41c1e0e

Add README.md

ddfrankland committed 8 years ago
Unverified
7ffb1139d1df57daf4ce61f11b706076a57f0ff5

Move environmental variable defaults to .env

ddfrankland committed 8 years ago
Unverified
7eaa31782612d09aa87e68dc4ebc4a019ac997a1

Add configurable host port binding

ddfrankland committed 8 years ago
Unverified
9829f2b36a2f754d823e63905a012b9e40343a8d

Fix menu hrefs

ddfrankland committed 8 years ago
Unverified
1b57725673d1e2985eadbc8de604f9ff95cd8f41

Initial Commit

ddfrankland committed 8 years ago

README

The README file for this repository.

docker-intranet

Easy way to get started with a small intranet.

How to Install

Go to the Docker Install Page and install Docker for the appropriate platform you are running on. If you are using Linux, please continue to follow the directions here to install docker-compose.

How to Run

Simply cd into the docker-intranet repo's directory and run:

docker-compose up --build

This will build and start the container which will be the most usual case. If there are no changes that need to be made, and you just want to start the container, you may omit the --build flag.

To stop the container, cd into the docker-intranet repo's directory and run:

docker-compose down

Environmental Variables

docker-intranet has a few simple variables you may set when building for easy customization. Set these variables when you build with docker-compose. Follow the example below:

HOST_PORT=8080 HTTP_USERNAME=admin HTTP_PASSWORD=supersecret docker-compose up --build

HOST_PORT

  • Default: 80

This is the port which the container will bind to on the host. For production you may want to set this to 80, but for local development it may make more sense to run on 8080.

HTTP_USERNAME

  • Default username

This is the username that will be prompted for when trying to access the website.

HTTP_PASSWORD

  • Default password

This is the password that will be prompted for when trying to access the website.