Update to handle gandiv5 personal access tokens

This commit is contained in:
Gabriel Schubiner
2024-10-03 19:40:34 -04:00
parent 8cce1b7ff7
commit e65bffe337
5 changed files with 26 additions and 7 deletions

15
compose.gandi-api-key.yml Normal file
View File

@ -0,0 +1,15 @@
version: "3.8"
services:
app:
environment:
- GANDIV5_API_KEY_FILE=/run/secrets/gandiv5_api_key
- LETS_ENCRYPT_DNS_CHALLENGE_ENABLED
- LETS_ENCRYPT_DNS_CHALLENGE_PROVIDER
secrets:
- gandiv5_api_key
secrets:
gandiv5_api_key:
name: ${STACK_NAME}_gandiv5_api_key_${SECRET_GANDIV5_API_KEY_VERSION}
external: true