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

How would you use the Lets Encrypt staging environment in a docker-compose file? #241

Open
yelvert opened this issue Feb 7, 2020 · 1 comment

Comments

@yelvert
Copy link

yelvert commented Feb 7, 2020

No description provided.

@obennaci
Copy link

obennaci commented Feb 25, 2020

@yelvert I did it by overriding the Dockerfile's CMD https://github.com/abiosoft/caddy-docker/blob/master/Dockerfile#L55

caddy:
    image: abiosoft/caddy
    command: [
      "--conf", "/etc/Caddyfile",
      "--log", "stdout", "--agree=true",
      "-ca", "https://acme-staging-v02.api.letsencrypt.org/directory"
    ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants