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.
 
 
 
 
 
Pēteris Caune 98b1e13aa1
Update the Docker Compose sample to use an .env file
4 years ago
..
.env Update the Docker Compose sample to use an .env file 4 years ago
Dockerfile Add experimental Dockerfile and docker-compose.yml 4 years ago
README.md Add README 4 years ago
docker-compose.yml Update the Docker Compose sample to use an .env file 4 years ago
uwsgi.ini Add experimental Dockerfile and docker-compose.yml 4 years ago

README.md

Running with Docker

This is a sample configuration for running Healthchecks with Docker and Docker 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 in your browser and log in with the credentials from the previous step.