Compare commits

...

2 Commits

Author SHA1 Message Date
bd5374f734 chore: publish 2.5.2+6.3.0 release 2024-01-29 20:38:51 +01:00
49ada78a8b Add FTP Access 2024-01-29 20:34:25 +01:00
5 changed files with 34 additions and 2 deletions

View File

@ -72,3 +72,9 @@ SECRET_DB_PASSWORD_VERSION=v1
# Wide-open CORS
# 🚩🚩 dangerous, use only for development sites!
#CORS_ALLOW_ALL=1
# FTP
#COMPOSE_FILE="$COMPOSE_FILE:compose.ftp.yml"
#SECRET_FTP_PASS_VERSION=v1
#USERS_CONF_VERSION=v1

26
compose.ftp.yml Normal file
View File

@ -0,0 +1,26 @@
---
version: "3.8"
services:
ftp:
image: atmoz/sftp
secrets:
- ftp_pass
ports:
- 2222:22
volumes:
- "wordpress_content:/home/ftp_user/wp-content"
configs:
- source: users_conf
target: /etc/sftp/users.conf
secrets:
ftp_pass:
name: ${STACK_NAME}_ftp_pass_${SECRET_FTP_PASS_VERSION}
external: true
configs:
users_conf:
name: ${STACK_NAME}_users_conf_${USERS_CONF_VERSION}
file: users.conf.tmpl
template_driver: golang

View File

@ -58,7 +58,7 @@ services:
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
- "backupbot.backup=true"
- "backupbot.backup.path=/var/www/html"
- "coop-cloud.${STACK_NAME}.version=2.5.1+6.3.0"
- "coop-cloud.${STACK_NAME}.version=2.5.2+6.3.0"
db:
image: "mariadb:11.0"

View File

@ -1 +0,0 @@
The authentik secrets need to be inserted again, as wordpress is not sharing the secret with authentik any more.

1
users.conf.tmpl Normal file
View File

@ -0,0 +1 @@
ftp_user:{{ secret "ftp_pass" }}:33:33