Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acme updates -- Allow for External Account Binding #253

Merged
merged 2 commits into from
Jan 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion build/docker-compose/docker-compose.acme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- --entryPoints.activemq.address=:8161
- --entryPoints.solr.address=:8983
- --entryPoints.code-server.address=:8443
- --log.level=${TRAEFIK_LOG_LEVEL-ERROR}
- --log.level=${TRAEFIK_LOG_LEVEL:-ERROR}
- --providers.docker
- --providers.docker.network=gateway
- --providers.docker.exposedByDefault=false
Expand All @@ -26,8 +26,12 @@ services:
- --certificatesresolvers.myresolver.acme.httpchallenge=true
- --certificatesresolvers.myresolver.acme.httpchallenge.entrypoint=http
- --certificatesresolvers.myresolver.acme.email=${ACME_EMAIL-your-email@example.com}
- --certificatesresolvers.myresolver.acme.keyType=${ACME_KEY_TYPE-RSA4096}
- --certificatesresolvers.myresolver.acme.storage=/acme/acme.json
- --certificatesResolvers.myresolver.acme.caServer=${ACME_SERVER-https://acme-v02.api.letsencrypt.org/directory}
- --certificatesresolvers.myresolver.acme.certificatesduration=${ACME_CERT_DURATION-2160}
- --certificatesresolvers.myresolver.acme.eab.kid=${ACME_EAB_KID-}
- --certificatesresolvers.myresolver.acme.eab.hmacencoded=${ACME_EAB_HMAC-}
volumes:
- ../../acme:/acme:rw
cantaloupe:
Expand Down
10 changes: 10 additions & 0 deletions sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,21 @@ PROJECT_DRUPAL_DOCKERFILE=Dockerfile
# Includes `traefik` as a service, if false assume we are sharing a traefik
# from another project.
INCLUDE_TRAEFIK_SERVICE=true
TRAEFIK_LOG_LEVEL=ERROR

# Should we use ACME to generate a SSL Certificate
USE_ACME=false
# Specify email to tie SSL Certificate to with ACME provider
ACME_EMAIL=your-email@example.com
# KeyType used for generating certificate private key. Allow value 'EC256', 'EC384', 'RSA2048', 'RSA4096', 'RSA8192'.
ACME_KEY_TYPE=RSA4096

# ACME Defaults for Let's Encrypt Service
# ACME_SERVER=https://acme-v02.api.letsencrypt.org/directory
# Default duration for the certificate is 90 days or 2,160 hours for Let's Encrypt
# ACME_CERT_DURATION=2160
# ACME_EAB_KID=
# ACME_EAB_HMAC=

# Includes `watchtower` as a service.
INCLUDE_WATCHTOWER_SERVICE=false
Expand Down