Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.03 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.03 KB

Run locally

If you have docker-compose installed then you can run the application locally using the provided script (add --docker if not using podman). The CLOUDSMITH_API_KEY is used to discover and access published releases, and can be found on our cloudsmith dashboard:

CLOUDSMITH_API_KEY=YOUR_KEY ./run-local.sh

once the application is running it can be accessed using a browser:

Production deployment

Configure with the following environment variables:

DOMAIN=
USERNAME=
PASSWORD='$2a$14$5xcXSjDxrwqSzh685qOZO.ltM.jpA90kNlpT9TfIZV4LLcvYPh3Si'

The standard 80/443 ports are used for http/https. The Caddy reverse proxy with automatically set up SSL for the configured domain.

To configure the password compute the hash of the plaintext representation:

echo secret | docker run -i caddy:2.6.4-alpine caddy hash-password

Then set the output to the PASSWORD environment variable. Be sure to escape the $ in the hash or use single quotes.