-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
757 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# version 3.0.6 | ||
FROM docker.io/neilpang/acme.sh:latest | ||
|
||
LABEL org.opencontainers.image.authors="Nathan Bishop <nbish11@hotmail.com>" | ||
LABEL org.opencontainers.image.url="https://github.com/nbish11/certificate-manager" | ||
LABEL org.opencontainers.image.documentation="https://github.com/nbish11/certificate-manager/wiki" | ||
LABEL org.opencontainers.image.source="https://github.com/nbish11/certificate-manager" | ||
LABEL org.opencontainers.image.vendor="Nathan Bishop" | ||
LABEL org.opencontainers.image.licenses="MIT" | ||
LABEL org.opencontainers.image.title="Certificate Manager" | ||
LABEL org.opencontainers.image.description="Manage certificates for Docker containers automatically, issuing and renewing them via the ACME protocol (Let's Encrypt)." | ||
LABEL org.opencontainers.image.base.name="docker.io/neilpang/acme.sh" | ||
|
||
RUN apk --no-cache add -f docker | ||
|
||
COPY rootfs / | ||
# RUN chmod +x /certificate-manager.sh | ||
|
||
ENTRYPOINT [ "/certificate-manager.sh" ] | ||
|
||
CMD [ "start" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: example | ||
|
||
services: | ||
acme: | ||
build: | ||
context: . | ||
environment: | ||
- ACME_MAIN_DOMAIN=cqda.com.au | ||
- ACME_EMAIL=nbish11@hotmail.com | ||
- ACME_DNS_PROVIDER=vultr | ||
- VULTR_API_KEY=SDPONBIPN4OGLFA7NEUMPTRU55JHXQGUD25A | ||
volumes: | ||
- letsencrypt:/acme.sh | ||
- /var/run/docker.sock:/var/run/docker.sock:ro | ||
depends_on: | ||
- wordpress | ||
|
||
wordpress: | ||
image: wordpress:latest | ||
restart: always | ||
ports: | ||
- 80:80 | ||
- 443:443 | ||
environment: | ||
- VIRTUAL_HOST=cqda.com.au | ||
- VIRTUAL_PORT=80 | ||
- LETSENCRYPT_HOST=cqda.com.au | ||
labels: | ||
- "sh.acme.domains=cqda.com.au,www.cqda.com.au" | ||
- "sh.acme.reload_command='docker restart'" | ||
|
||
volumes: | ||
letsencrypt: |
Oops, something went wrong.