nextcloud work
This commit is contained in:
parent
0869222a5e
commit
e494c528be
@ -43,7 +43,7 @@ job "nextcloud" {
|
|||||||
volumes = [
|
volumes = [
|
||||||
"/mnt/diskstation/nextcloud/data:/var/www/html/data",
|
"/mnt/diskstation/nextcloud/data:/var/www/html/data",
|
||||||
"/mnt/diskstation/nextcloud/config:/var/www/html/config",
|
"/mnt/diskstation/nextcloud/config:/var/www/html/config",
|
||||||
"local/default:/config/nginx/site-confs/default"
|
"/mnt/diskstation/nextcloud/root:/var/www/html/"
|
||||||
]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@ job "nextcloud" {
|
|||||||
template {
|
template {
|
||||||
data= <<EOH
|
data= <<EOH
|
||||||
{{ with secret "secrets/data/nextcloud"}}
|
{{ with secret "secrets/data/nextcloud"}}
|
||||||
POSTGRES_DB="nextcloud2"
|
POSTGRES_DB="nextcloud"
|
||||||
POSTGRES_USER="nextcloud"
|
POSTGRES_USER="nextcloud"
|
||||||
POSTGRES_PASSWORD="{{ .Data.data.POSTGRES_PASSWORD }}"
|
POSTGRES_PASSWORD="{{ .Data.data.POSTGRES_PASSWORD }}"
|
||||||
NEXTCLOUD_ADMIN_USER="vincent"
|
NEXTCLOUD_ADMIN_USER="vincent"
|
||||||
|
Loading…
Reference in New Issue
Block a user