You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.0 KiB

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