Skip to content

Commit fc0f64a

Browse files
authored
Finish notes on automatically generating certs through the compose file
1 parent 0340504 commit fc0f64a

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,16 @@ x-common:
1616
APP_TIMEZONE: "${TIMEZONE}"
1717
APP_SERVICE_AUTHOR: "${EGG_AUTHOR_EMAIL}"
1818
# Uncomment the line below and set to a non-empty value if you want to use Let's Encrypt
19-
# to generate an SSL certificate for the Panel.
19+
# to generate an SSL certificate for the Panel. You will also have to open port 80 under
20+
# the panel service below. For example, if PANEL_PORT is set to 443, it would look like:
21+
# ports:
22+
# - "${PANEL_PORT}:${PANEL_PORT}"
23+
# - "80:80"
24+
#
25+
# Note that Wings's automatic certificate generation expects port 443 to be open AND LEAD TO THE Wings container; if you're
26+
# running both on the same machine, and want to generate certs automatically through this
27+
# compose file, you should reuse your panel's cert for this machine's Wings instance instead
28+
# of trying to generate both.
2029
# LE_EMAIL: ""
2130
# TRUSTED_PROXIES: "${TRUSTED_PROXIES}"
2231
RECAPTCHA_ENABLED: "${RECAPTCHA_ENABLED}"
@@ -146,7 +155,7 @@ services:
146155
- "${BASE_DIR}/:${BASE_DIR}/"
147156
- "${BASE_DIR}/logs/:/var/log/pterodactyl/"
148157
- "/tmp/pterodactyl/:/tmp/pterodactyl/"
149-
- "${BASE_DIR}/certs/:/etc/letsencrypt/live:ro" # Remove the ":ro" at the end if generating certs automatically
158+
- "${BASE_DIR}/certs/:/etc/letsencrypt/live:ro"
150159
healthcheck:
151160
test: ["CMD", "curl", "http://localhost:${WINGS_PORT}"]
152161
interval: 30s

0 commit comments

Comments
 (0)