First stage refactor for dynamic app specs (napps.scm).
This commit is contained in:
20
all-apps/nextcloud/34/nextcloud.env
Normal file
20
all-apps/nextcloud/34/nextcloud.env
Normal file
@@ -0,0 +1,20 @@
|
||||
DOMAIN="nextcloud.nassella.cc"
|
||||
NEXTCLOUD_TRUSTED_DOMAINS=${DOMAIN}
|
||||
|
||||
# reverse proxy config
|
||||
OVERWRITEHOST=${DOMAIN}
|
||||
OVERWRITECLIURL=https://${DOMAIN}
|
||||
OVERWRITEPROTOCOL=https
|
||||
TRUSTED_PROXIES=172.16.0.0/24 # trust the local lb
|
||||
PHP_MEMORY_LIMIT=1G
|
||||
PHP_UPLOAD_LIMIT=10G
|
||||
POSTGRES_HOST=db
|
||||
POSTGRES_DB_FILE=/run/secrets/postgres_db
|
||||
POSTGRES_USER_FILE=/run/secrets/postgres_user
|
||||
POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
|
||||
# admin user
|
||||
NEXTCLOUD_ADMIN_PASSWORD_FILE=/run/secrets/nextcloud_admin_password
|
||||
NEXTCLOUD_ADMIN_USER_FILE=/run/secrets/nextcloud_admin_user
|
||||
# redis
|
||||
REDIS_HOST=redis
|
||||
REDIS_HOST_PASSWORD_FILE=/run/secrets/redis_password
|
||||
1
all-apps/nextcloud/34/nextcloud_admin_password
Normal file
1
all-apps/nextcloud/34/nextcloud_admin_password
Normal file
@@ -0,0 +1 @@
|
||||
foodisgood
|
||||
1
all-apps/nextcloud/34/nextcloud_admin_user
Normal file
1
all-apps/nextcloud/34/nextcloud_admin_user
Normal file
@@ -0,0 +1 @@
|
||||
admin
|
||||
1
all-apps/nextcloud/34/postgres_db
Normal file
1
all-apps/nextcloud/34/postgres_db
Normal file
@@ -0,0 +1 @@
|
||||
nextcloud
|
||||
1
all-apps/nextcloud/34/postgres_password
Normal file
1
all-apps/nextcloud/34/postgres_password
Normal file
@@ -0,0 +1 @@
|
||||
dbpassword
|
||||
1
all-apps/nextcloud/34/postgres_user
Normal file
1
all-apps/nextcloud/34/postgres_user
Normal file
@@ -0,0 +1 @@
|
||||
nextcloud
|
||||
1
all-apps/nextcloud/34/redis_password
Normal file
1
all-apps/nextcloud/34/redis_password
Normal file
@@ -0,0 +1 @@
|
||||
redispassword
|
||||
25
all-apps/nextcloud/napp.scm
Normal file
25
all-apps/nextcloud/napp.scm
Normal file
@@ -0,0 +1,25 @@
|
||||
((name . "Nextcloud")
|
||||
(key . nextcloud)
|
||||
(dir . "nextcloud")
|
||||
(current-version . "34")
|
||||
(versions . (("34")))
|
||||
(website . "https://nextcloud.com")
|
||||
(docker-secrets . (("NEXTCLOUD_ADMIN_USER" "nextcloud_admin_user")
|
||||
("NEXTCLOUD_ADMIN_PASSWORD" "nextcloud_admin_password")
|
||||
("NEXTCLOUD_POSTGRES_DB" "postgres_db")
|
||||
("NEXTCLOUD_POSTGRES_USER" "postgres_user")
|
||||
("NEXTCLOUD_POSTGRES_PASSWORD" "postgres_password")
|
||||
("NEXTCLOUD_REDIS_PASSWORD" "redis_password")))
|
||||
(scripts . (("make-nextcloud-env.sh"
|
||||
((deps . ("nextcloud.env.tmpl"))
|
||||
(output . "nextcloud.env")))))
|
||||
(apps-config . (("NEXTCLOUD_ADMIN_USER" admin-user)
|
||||
("NEXTCLOUD_ADMIN_PASSWORD" admin-password)
|
||||
("NEXTCLOUD_POSTGRES_DB" "nextcloud")
|
||||
("NEXTCLOUD_POSTGRES_USER" "nextcloud")
|
||||
("NEXTCLOUD_POSTGRES_PASSWORD" postgres-password)
|
||||
("NEXTCLOUD_REDIS_PASSWORD" redis-password)))
|
||||
(general . ((smtp . #t)))
|
||||
(caddyfile . " reverse_proxy http://nextcloud:80")
|
||||
(passwd . ((name . "nextcloud")
|
||||
(uid . "1001"))))
|
||||
7
all-apps/wg-easy/napp.scm
Normal file
7
all-apps/wg-easy/napp.scm
Normal file
@@ -0,0 +1,7 @@
|
||||
((name . "wg-easy")
|
||||
(key . wg-easy)
|
||||
(dir . "wg-easy")
|
||||
(current-version . "15")
|
||||
(versions . (("15")))
|
||||
(website . "https://wg-easy.github.io/wg-easy/Pre-release/")
|
||||
(caddyfile . " reverse_proxy http://wg-easy:80"))
|
||||
Reference in New Issue
Block a user