switched to coop cloud site badger, introduced two hugo env vars, and fix for conf #16
+7
-4
@@ -6,13 +6,16 @@ LETS_ENCRYPT_ENV=production
|
||||
COMPOSE_FILE="compose.yml"
|
||||
|
||||
# **NOTE** Please change this value to your repo
|
||||
HUGO_GIT_URL=git@codeberg.org:eotl/example-repo.git
|
||||
HUGO_GIT_URL=ssh://git@codeberg.org:eotl/example-repo.git
|
||||
# optionally configure git branch
|
||||
#HUGO_GIT_BRANCH=staging
|
||||
|
||||
# Configrue hugo build mode (takes precedence over the config file)
|
||||
HUGO_BASEURL=https://${DOMAIN}
|
||||
HUGO_ENVIRONMENT=production
|
||||
# set the used Hugo version optionally, otherwise the version defined in site-badger is used
|
||||
#HUGO_VERSION=0.143.1
|
||||
|
||||
# Configure git branch
|
||||
#HUGO_GIT_BRANCH=staging
|
||||
|
||||
# HTTP Basic Auth protected /deploy endpoint
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.auth.yml"
|
||||
#AUTH_ENABLED=1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export APP_ENTRYPOINT_VERSION=v1
|
||||
export BADGER_ENTRYPOINT_VERSION=v2
|
||||
export DEFAULT_CONF_VERSION=v1
|
||||
export DEFAULT_CONF_VERSION=v2
|
||||
export SSH_CONF_VERSION=v1
|
||||
export SSH_DEPLOY_KEY_VERSION=v1
|
||||
export WEBHOOKD_SCRIPT_VERSION=v3
|
||||
|
||||
+3
-1
@@ -29,7 +29,7 @@ services:
|
||||
- "coop-cloud.${STACK_NAME}.version=v0.5.0+1.29.5-alpine"
|
||||
|
||||
badger:
|
||||
image: codeberg.org/eotl/site-badger:0.2.0
|
||||
image: git.coopcloud.tech/toolshed/site-badger:0.3.0
|
||||
environment:
|
||||
- CUSTOM_DEPLOY_ENABLED
|
||||
- CUSTOM_DEPLOY_SCRIPT
|
||||
@@ -41,6 +41,8 @@ services:
|
||||
- PRIVATE_ENABLED
|
||||
- WHD_SCRIPTS=/root/scripts
|
||||
- WHD_HOOK_TIMEOUT=${WHD_HOOK_TIMEOUT:-10}
|
||||
- HUGO_ENVIRONMENT
|
||||
- HUGO_BASEURL
|
||||
command: webhookd
|
||||
entrypoint: /entrypoint.sh
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user