Skip to content

Commit

Permalink
Add env-var for CA cert server for letsencrypt OPS_TRAEFIK_LETSENCRYP…
Browse files Browse the repository at this point in the history
…T_ACME_CA_SERVER
  • Loading branch information
kaiser committed Oct 23, 2023
1 parent 9a0b212 commit 4d24c82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/traefik/docker-compose.aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
# - "--certificatesresolvers.lehttpchallenge.acme.email=${OSPARC_DEVOPS_MAIL_ADRESS}"
# - "--certificatesresolvers.lehttpchallenge.acme.storage=/letsencrypt/acme.json"
# For debug purpose, to avoid being ban by let's encrypt servers
# - "--certificatesresolvers.myresolver.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory"
- "--certificatesresolvers.myresolver.acme.caserver=${OPS_TRAEFIK_LETSENCRYPT_ACME_CA_SERVER}"
volumes:
- "letsencrypt_certs:/letsencrypt"
environment:
Expand Down
2 changes: 1 addition & 1 deletion services/traefik/docker-compose.letsencrypt.http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
- "--certificatesresolvers.lehttpchallenge.acme.email=${OSPARC_DEVOPS_MAIL_ADRESS}"
- "--certificatesresolvers.lehttpchallenge.acme.storage=/letsencrypt/acme.json"
# uncomment the caserver when testing such that let's encrypt does not ban us
# - '--certificatesresolvers.lehttpchallenge.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory'
- '--certificatesresolvers.lehttpchallenge.acme.caserver=${OPS_TRAEFIK_LETSENCRYPT_ACME_CA_SERVER}'
volumes:
- "letsencrypt_certs:/letsencrypt"
deploy:
Expand Down

0 comments on commit 4d24c82

Please sign in to comment.