Compare commits
1
Commits
3.2.1+1.12.3
..
s3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
545720fe9b
|
@@ -57,3 +57,12 @@ COMPOSE_FILE="compose.yml"
|
||||
# Only present in config.json (no equivalent env var):
|
||||
# DOCUMENT_MAX_LENGTH=100000
|
||||
# CMD_ENABLE_UPLOADS=registered
|
||||
|
||||
# S3 uploads
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.s3.yml"
|
||||
#CMD_S3_ACCESS_KEY_ID=
|
||||
#CMD_S3_REGION=garage
|
||||
#CMD_S3_BUCKET=$DOMAIN
|
||||
#CMD_S3_ENDPOINT=
|
||||
#CMD_S3_FOLDER=uploads
|
||||
#SECRET_S3_SECRET_ACCESS_KEY_VERSION=v1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export ENTRYPOINT_CONF_VERSION=v13
|
||||
export ENTRYPOINT_CONF_VERSION=v14
|
||||
export CONFIG_JSON_VERSION=v1
|
||||
export PG_BACKUP_VERSION=v1
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
version: "3.8"
|
||||
services:
|
||||
app:
|
||||
environment:
|
||||
- CMD_S3_ACCESS_KEY_ID
|
||||
- CMD_S3_REGION
|
||||
- CMD_S3_BUCKET
|
||||
- CMD_S3_ENDPOINT
|
||||
- CMD_S3_FOLDER
|
||||
- CMD_S3_PUBLIC_FILES=false
|
||||
secrets:
|
||||
- s3_secret_access_key
|
||||
secrets:
|
||||
s3_secret_access_key:
|
||||
external: true
|
||||
name: ${STACK_NAME}_s3_secret_access_key_${SECRET_S3_SECRET_ACCESS_KEY_VERSION}
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
app:
|
||||
image: quay.io/hedgedoc/hedgedoc:1.12.3
|
||||
image: quay.io/hedgedoc/hedgedoc:1.12.0
|
||||
environment:
|
||||
- CMD_USECDN=false
|
||||
- CMD_URL_ADDPORT=false
|
||||
@@ -58,7 +58,7 @@ services:
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirecthostname.redirectregex.replacement=https://${DOMAIN}/$${2}"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirecthostname.redirectregex.permanent=true"
|
||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||
- "coop-cloud.${STACK_NAME}.version=3.2.1+1.12.3"
|
||||
- "coop-cloud.${STACK_NAME}.version=3.2.0+1.12.0"
|
||||
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
|
||||
healthcheck:
|
||||
test: 'nodejs -e "http.get(''http://localhost:3000'', (res) => { console.log(''status: '', res.statusCode); if (res.statusCode == 200) { process.exit(0); } else { process.exit(1); } });"'
|
||||
|
||||
@@ -27,6 +27,7 @@ load_vars() {
|
||||
fi
|
||||
file_env "CMD_OAUTH2_CLIENT_SECRET"
|
||||
file_env "CMD_SESSION_SECRET"
|
||||
file_env "CMD_S3_SECRET_ACCESS_KEY"
|
||||
}
|
||||
|
||||
main() {
|
||||
|
||||
Reference in New Issue
Block a user