Initially based on Davesgonechina's Docker Known container setup, which itself is based on Eric Hansander's Docker Known container, this Known Docker configuration is now a complete rewrite on the docker-compose side.
This repo builds a set of containers to run the latest version of Known from the 'main' Github branch with one process per container (one for the MariaDB database and one running Apache and the Known PHP application itself).
This fork contains the following changes in comparison to Davesgonechina's original:
- contains an other set of Known plugins (e.g contains Foursquare, but no LinkedIn)
- uses a nginx reverse proxy with TLS through Let's Encrypt
- uses the latest Ubuntu base image (currently 20.04 LTS 'Focal Fossa')
Just run the docker-compose.yml file in detached mode with Docker Compose and set the required environment variables.
Don't set DOCKER_KNOWN_HOSTNAME
and DOCKER_LETSENCRYPT_EMAIL
if you don't use the nginx reverse proxy.
export DOCKER_KNOWN_MYSQL_PASSWORD=YOURPASSWORD
export DOCKER_KNOWN_HOSTNAME=YOURHOSTNAME
export DOCKER_LETSENCRYPT_EMAIL=YOUREMAIL
docker-compose -p known up -d
Enter the Known site address into your browser, and follow the instructions to create an account.
If you are running docker locally on your machine, you should be able to
access the Known web interface it at http://localhost/
.
To build the Docker image locally, simply
docker build -t egoexpress/known .