Browse Source

Add README

pull/470/head
Pēteris Caune 4 years ago
parent
commit
35e6d41793
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 27 additions and 0 deletions
  1. +27
    -0
      docker/README.md

+ 27
- 0
docker/README.md View File

@ -0,0 +1,27 @@
# Running with Docker
This is a sample configuration for running Healthchecks with
[Docker](https://www.docker.com) and [Docker Compose](https://docs.docker.com/compose/).
**Note: The Docker configuration is a recent addition, and, for the time being,
should be considered highly experimental**.
Note: For the sake of simplicity, the sample configuration starts a single database
node and a single web server node, both on the same host. It also does not handle SSL
termination. If you plan to expose it to the public internet, make sure you put a
SSL-terminating load balancer or reverse proxy in front of it.
## Getting Started
* Edit the `docker-compose.yml` file; add your SMTP credentials
and any other needed environment variables.
* Create and start containers:
$ docker-compose up
* Create a superuser:
$ docker-compose run web /opt/healthchecks/manage.py createsuperuser
* Open [http://localhost:8000](http://localhost:8000) in your browser and log in with
the credentials from the previous step.

Loading…
Cancel
Save