@@ -29,15 +29,15 @@ This container can be used with docker compose following this example:
2929 # Keeping the database in a volume improves performance. I don't understand why.
3030 - step-ca-db:/home/step/db
3131 # Keeping the root CA in a volume allows us to back it up and restore it.
32- - step-root-ca:/root-ca /
32+ - step-root-ca:/root_ca /
3333 environment:
3434 # To initialize your CA, modify these environment variables
3535 - STEPPATH=/home/step
3636 - DOCKER_STEPCA_INIT_NAME=OpenCHAMI
3737 - DOCKER_STEPCA_INIT_DNS_NAMES=localhost,step-ca
3838 - DOCKER_STEPCA_INIT_ACME=true
3939 healthcheck:
40- test: ["CMD", "step", "ca", "health", "--ca-url", "https://step-ca:9000", "--root", "/root-ca /root_ca.crt"]
40+ test: ["CMD", "step", "ca", "health", "--ca-url", "https://step-ca:9000", "--root", "/root_ca /root_ca.crt"]
4141 interval: 10s
4242 timeout: 10s
4343 retries: 5
@@ -49,14 +49,14 @@ This container can be used with docker compose following this example:
4949 step-ca:
5050 condition: service_healthy
5151 environment:
52- - REQUESTS_CA_BUNDLE=/root-ca /root_ca.crt # This is the root CA certificate that we use to verify the local CA.
52+ - REQUESTS_CA_BUNDLE=/root_ca /root_ca.crt # This is the root CA certificate that we use to verify the local CA.
5353 command: [ "certonly", "--webroot", "--server", "https://step-ca:9000/acme/acme/directory", "--webroot-path", "/var/www/html", "--agree-tos", "--email", "docker-compose@example.com", "-d", "openchami.bikeshack.dev", "-n" ]
5454 networks:
5555 - openchami-certs
5656 volumes:
5757 - local-certs:/etc/letsencrypt
5858 - certbot-challenges:/var/www/html/
59- - step-root-ca:/root-ca :ro
59+ - step-root-ca:/root_ca :ro
6060```
6161
6262Build Status: [ ![ build and publish containers] ( https://github.com/OpenCHAMI/local-ca/actions/workflows/build_containers.yml/badge.svg )] ( https://github.com/OpenCHAMI/local-ca/actions/workflows/build_containers.yml )
0 commit comments