mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
faa0420931
This makes container builds more consistent, and therefore more cacheable in relation to other containers. In addition, certificates and keys are now copied to two separate volumes, one containing all certificates (for use in services like `nginx`, which may require unfettered access to certificates) and one containing certificates only for a specific domain, for use in most other cases.
10 lines
199 B
Bash
Executable File
10 lines
199 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
# Correct permissions where needed.
|
|
chown -R letsencrypt:letsencrypt /var/lib/letsencrypt
|
|
|
|
# Run ACME verification with parameters given.
|
|
exec gosu letsencrypt /usr/bin/lego "$@"
|