Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
bd5374f734 | |||
49ada78a8b |
@ -72,3 +72,9 @@ SECRET_DB_PASSWORD_VERSION=v1
|
|||||||
# Wide-open CORS
|
# Wide-open CORS
|
||||||
# 🚩🚩 dangerous, use only for development sites!
|
# 🚩🚩 dangerous, use only for development sites!
|
||||||
#CORS_ALLOW_ALL=1
|
#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
26
compose.ftp.yml
Normal 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
|
@ -58,7 +58,7 @@ services:
|
|||||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||||
- "backupbot.backup=true"
|
- "backupbot.backup=true"
|
||||||
- "backupbot.backup.path=/var/www/html"
|
- "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:
|
db:
|
||||||
image: "mariadb:11.0"
|
image: "mariadb:11.0"
|
||||||
|
@ -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
1
users.conf.tmpl
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp_user:{{ secret "ftp_pass" }}:33:33
|
Reference in New Issue
Block a user