Files
stevensting 8656d0a6e2 add optional deployment on a staging subdomain (#20)
<!--
Thank you for doing recipe maintenance work!
Please mark all checklist items which are relevant for your changes.
Please remove the checklist items which are not relevant for your changes.
Feel free to remove this comment.
-->

* [x] I have deployed and tested my changes
* [x] I have [updated relevant versions in `abra.sh`](https://docs.coopcloud.tech/maintainers/upgrade/#updating-versions-in-the-abrash)
* [x] I have made my environment variable changes [backwards compatible](https://docs.coopcloud.tech/maintainers/upgrade/#backwards-compatible-environment-variable-changes)
* [x] I ran `abra recipe lint parasol-static-site --chaos` on the PR's branch and fixed the warnings.
* [x] I have added a [release note entry](https://docs.coopcloud.tech/maintainers/upgrade/#creating-new-release-notes)

Reviewed-on: #20
Co-authored-by: stevensting <stefan@klasse-methode.it>
Co-committed-by: stevensting <stefan@klasse-methode.it>
2026-08-07 06:50:02 +00:00

41 lines
1022 B
YAML

---
version: "3.8"
services:
app:
volumes:
- nginx-data-staging:/usr/share/nginx/website-staging
badger-staging:
image: git.coopcloud.tech/toolshed/site-badger:0.3.0
environment:
- CUSTOM_DEPLOY_ENABLED
- CUSTOM_DEPLOY_SCRIPT
- HUGO_GIT_URL
- HUGO_GIT_BRANCH=${HUGO_GIT_BRANCH_STAGING}
- HUGO_PUBLIC_DIR=/usr/share/nginx/website-staging
- HUGO_WORKING_DIR=/root/website-staging
- HUGO_VERSION
- PRIVATE_ENABLED
- WHD_SCRIPTS=/root/scripts
- WHD_HOOK_TIMEOUT=${WHD_HOOK_TIMEOUT:-10}
- HUGO_ENVIRONMENT
- HUGO_BASEURL=https://staging.${HUGO_BASEURL}
command: webhookd
entrypoint: /entrypoint.sh
networks:
- internal
configs:
- source: webhookd_script
target: /root/scripts/deploy.sh
mode: 0555
- source: badger_entrypoint
target: /entrypoint.sh
mode: 0555
volumes:
- nginx-data-staging:/usr/share/nginx/website-staging
volumes:
nginx-data-staging: