Skip to content

derekhe/keygen-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keygen.sh docker compose example

This is a simple example of how to use the keygen.sh docker image with docker compose.

You need to have docker and docker compose >v2.24.0 installed in your system.

Usage

  1. Clone this repository
  2. Run docker compose run init (or docker compose run --build init if you update the repo) to generate the keys and account id. If you have problems when running the command, please make sure docker compose >v2.24.0 is installed in your system.
  3. Run docker compose run setup to setup the keygen.sh environment
  4. Set the user name and password you used in your environment
# Linux
export [email protected]
export KEYGEN_ADMIN_PASS=password123
  1. Run docker compose up --scale setup=0 --scale init=0 to start the keygen.sh server
  2. Copy the certificates to the certificates folder. You should import the certificates to your system to avoid the security warning in the browser docker cp keygen-docker-compose-caddy-1:/data/caddy/pki ./certificates
  3. Try the api.rest in vscode to test the server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages