- Docker with the Docker Compose plugin
-
Download the following files:
- compose.yaml which contains a sample production Docker Compose file.
- compose.override.yaml which includes development configurations. More information is available here.
- .env which is a sample environment file. The file is named
.env
so the docker compose can read it automagically for interpolation of variables in compose yaml files.
-
Download the Pebble test CA certificate from this link and save it as
pebble.minica.pem
. Place this file in the same directory ascompose.override.yaml
, or update the volume mount path incompose.override.yaml
accordingly. -
Update the
.env
file:- Set
ACME_CA_SERVER
tohttps://pebble_acme:14000/dir
which points to pebble docker service acme directory - Replace
example.local
with your own domain forWHOAMI_HOST
.
- Set
-
Run
docker compose up
to start the services. Whoami host should be assigned cert automagically.