2021-11-30 18:20:42 +08:00
|
|
|
{
|
|
|
|
"production": [
|
|
|
|
{
|
|
|
|
"dependsOn": [
|
2022-03-17 17:13:21 +08:00
|
|
|
"nextcloud-aio-onlyoffice",
|
2021-11-30 18:20:42 +08:00
|
|
|
"nextcloud-aio-collabora",
|
2022-03-17 17:13:21 +08:00
|
|
|
"nextcloud-aio-clamav",
|
2022-03-16 06:46:58 +08:00
|
|
|
"nextcloud-aio-talk",
|
2022-03-17 17:13:21 +08:00
|
|
|
"nextcloud-aio-nextcloud"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"identifier": "nextcloud-aio-apache",
|
|
|
|
"displayName": "Apache",
|
|
|
|
"containerName": "nextcloud/aio-apache",
|
|
|
|
"ports": [
|
2021-12-09 01:12:56 +08:00
|
|
|
"%APACHE_PORT%/tcp"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"internalPorts": [
|
2021-12-09 01:12:56 +08:00
|
|
|
"%APACHE_PORT%"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"secrets": [],
|
|
|
|
"environmentVariables": [
|
|
|
|
"NC_DOMAIN=%NC_DOMAIN%",
|
|
|
|
"NEXTCLOUD_HOST=nextcloud-aio-nextcloud",
|
|
|
|
"COLLABORA_HOST=nextcloud-aio-collabora",
|
2021-12-09 01:12:56 +08:00
|
|
|
"TALK_HOST=nextcloud-aio-talk",
|
2022-03-17 17:13:21 +08:00
|
|
|
"APACHE_PORT=%APACHE_PORT%",
|
|
|
|
"ONLYOFFICE_HOST=nextcloud-aio-onlyoffice"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"volumes": [
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_nextcloud",
|
|
|
|
"location": "/var/www/html",
|
|
|
|
"writeable": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_apache",
|
|
|
|
"location": "/mnt/data",
|
|
|
|
"writeable": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maxShutdownTime": 10,
|
|
|
|
"restartPolicy": "unless-stopped"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"dependsOn": [],
|
|
|
|
"identifier": "nextcloud-aio-database",
|
|
|
|
"displayName": "Database",
|
|
|
|
"containerName": "nextcloud/aio-postgresql",
|
|
|
|
"ports": [],
|
|
|
|
"internalPorts": [
|
|
|
|
"5432"
|
|
|
|
],
|
|
|
|
"secrets": [
|
|
|
|
"DATABASE_PASSWORD"
|
|
|
|
],
|
|
|
|
"volumes": [
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_database",
|
|
|
|
"location": "/var/lib/postgresql/data",
|
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_database_dump",
|
|
|
|
"location": "/mnt/data",
|
|
|
|
"writeable": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"environmentVariables": [
|
|
|
|
"POSTGRES_PASSWORD=%DATABASE_PASSWORD%",
|
|
|
|
"POSTGRES_DB=nextcloud_database",
|
|
|
|
"POSTGRES_USER=nextcloud"
|
|
|
|
],
|
|
|
|
"maxShutdownTime": 1800,
|
|
|
|
"restartPolicy": "unless-stopped"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"dependsOn": [
|
|
|
|
"nextcloud-aio-database",
|
|
|
|
"nextcloud-aio-redis"
|
|
|
|
],
|
|
|
|
"identifier": "nextcloud-aio-nextcloud",
|
|
|
|
"displayName": "Nextcloud",
|
|
|
|
"containerName": "nextcloud/aio-nextcloud",
|
|
|
|
"ports": [],
|
|
|
|
"internalPorts": [
|
|
|
|
"9000"
|
|
|
|
],
|
|
|
|
"secrets": [
|
|
|
|
"DATABASE_PASSWORD",
|
|
|
|
"REDIS_PASSWORD",
|
|
|
|
"NEXTCLOUD_PASSWORD",
|
|
|
|
"TURN_SECRET",
|
|
|
|
"SIGNALING_SECRET"
|
|
|
|
],
|
|
|
|
"volumes": [
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_nextcloud",
|
|
|
|
"location": "/var/www/html",
|
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
2022-03-08 23:49:13 +08:00
|
|
|
"name": "%NEXTCLOUD_DATADIR%",
|
2021-11-30 18:20:42 +08:00
|
|
|
"location": "/mnt/ncdata",
|
|
|
|
"writeable": true
|
2022-02-22 00:31:05 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "%NEXTCLOUD_MOUNT%",
|
|
|
|
"location": "%NEXTCLOUD_MOUNT%",
|
|
|
|
"writeable": true
|
2021-11-30 18:20:42 +08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"environmentVariables": [
|
|
|
|
"POSTGRES_HOST=nextcloud-aio-database",
|
|
|
|
"POSTGRES_PASSWORD=%DATABASE_PASSWORD%",
|
|
|
|
"POSTGRES_DB=nextcloud_database",
|
|
|
|
"POSTGRES_USER=nextcloud",
|
|
|
|
"REDIS_HOST=nextcloud-aio-redis",
|
|
|
|
"REDIS_HOST_PASSWORD=%REDIS_PASSWORD%",
|
|
|
|
"AIO_TOKEN=%AIO_TOKEN%",
|
|
|
|
"NC_DOMAIN=%NC_DOMAIN%",
|
|
|
|
"ADMIN_USER=admin",
|
|
|
|
"ADMIN_PASSWORD=%NEXTCLOUD_PASSWORD%",
|
|
|
|
"NEXTCLOUD_DATA_DIR=/mnt/ncdata",
|
|
|
|
"OVERWRITEHOST=%NC_DOMAIN%",
|
|
|
|
"OVERWRITEPROTOCOL=https",
|
|
|
|
"TURN_SECRET=%TURN_SECRET%",
|
|
|
|
"SIGNALING_SECRET=%SIGNALING_SECRET%",
|
2022-03-14 22:35:37 +08:00
|
|
|
"AIO_URL=%AIO_URL%",
|
2022-03-16 06:46:58 +08:00
|
|
|
"NEXTCLOUD_MOUNT=%NEXTCLOUD_MOUNT%",
|
|
|
|
"CLAMAV_ENABLED=%CLAMAV_ENABLED%",
|
2022-03-17 17:13:21 +08:00
|
|
|
"CLAMAV_HOST=nextcloud-aio-clamav",
|
|
|
|
"ONLYOFFICE_ENABLED=%ONLYOFFICE_ENABLED%",
|
|
|
|
"COLLABORA_ENABLED=%COLLABORA_ENABLED%",
|
2022-04-04 23:28:53 +08:00
|
|
|
"COLLABORA_HOST=nextcloud-aio-collabora",
|
2022-03-23 02:34:16 +08:00
|
|
|
"TALK_ENABLED=%TALK_ENABLED%",
|
2022-04-05 01:12:07 +08:00
|
|
|
"ONLYOFFICE_HOST=nextcloud-aio-onlyoffice",
|
|
|
|
"DAILY_BACKUP_RUNNING=%DAILY_BACKUP_RUNNING%"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"maxShutdownTime": 10,
|
|
|
|
"restartPolicy": "unless-stopped"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"dependsOn": [],
|
|
|
|
"identifier": "nextcloud-aio-redis",
|
|
|
|
"displayName": "Redis",
|
|
|
|
"containerName": "nextcloud/aio-redis",
|
|
|
|
"ports": [],
|
|
|
|
"internalPorts": [
|
|
|
|
"6379"
|
|
|
|
],
|
|
|
|
"environmentVariables": [
|
|
|
|
"REDIS_HOST_PASSWORD=%REDIS_PASSWORD%"
|
|
|
|
],
|
|
|
|
"volumes": [],
|
|
|
|
"secrets": [
|
|
|
|
"REDIS_PASSWORD"
|
|
|
|
],
|
|
|
|
"maxShutdownTime": 10,
|
|
|
|
"restartPolicy": "unless-stopped"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"dependsOn": [],
|
|
|
|
"identifier": "nextcloud-aio-collabora",
|
|
|
|
"displayName": "Collabora",
|
|
|
|
"containerName": "nextcloud/aio-collabora",
|
|
|
|
"ports": [],
|
|
|
|
"internalPorts": [
|
|
|
|
"9980"
|
|
|
|
],
|
|
|
|
"environmentVariables": [
|
2022-04-13 21:39:32 +08:00
|
|
|
"aliasgroup1=https://%NC_DOMAIN%:443",
|
2022-03-09 19:21:37 +08:00
|
|
|
"extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:logging.level=warning"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"volumes": [],
|
|
|
|
"secrets": [],
|
|
|
|
"maxShutdownTime": 10,
|
|
|
|
"restartPolicy": "unless-stopped"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"dependsOn": [],
|
|
|
|
"identifier": "nextcloud-aio-talk",
|
|
|
|
"displayName": "Talk",
|
|
|
|
"containerName": "nextcloud/aio-talk",
|
|
|
|
"ports": [
|
|
|
|
"3478/tcp",
|
|
|
|
"3478/udp"
|
|
|
|
],
|
|
|
|
"internalPorts": [
|
|
|
|
"3478"
|
|
|
|
],
|
|
|
|
"environmentVariables": [
|
|
|
|
"NC_DOMAIN=%NC_DOMAIN%",
|
|
|
|
"TURN_SECRET=%TURN_SECRET%",
|
|
|
|
"SIGNALING_SECRET=%SIGNALING_SECRET%",
|
2022-03-09 19:21:37 +08:00
|
|
|
"JANUS_API_KEY=%JANUS_API_KEY%"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"volumes": [],
|
|
|
|
"secrets": [
|
|
|
|
"TURN_SECRET",
|
|
|
|
"SIGNALING_SECRET",
|
|
|
|
"JANUS_API_KEY"
|
|
|
|
],
|
|
|
|
"maxShutdownTime": 10,
|
|
|
|
"restartPolicy": "unless-stopped"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"dependsOn": [],
|
|
|
|
"identifier": "nextcloud-aio-borgbackup",
|
|
|
|
"displayName": "Borgbackup",
|
|
|
|
"containerName": "nextcloud/aio-borgbackup",
|
|
|
|
"ports": [],
|
|
|
|
"internalPorts": [],
|
|
|
|
"environmentVariables": [
|
|
|
|
"BORG_PASSWORD=%BORGBACKUP_PASSWORD%",
|
2021-12-08 02:10:05 +08:00
|
|
|
"BORG_MODE=%BORGBACKUP_MODE%",
|
2022-03-21 20:23:17 +08:00
|
|
|
"SELECTED_RESTORE_TIME=%SELECTED_RESTORE_TIME%",
|
|
|
|
"BACKUP_RESTORE_PASSWORD=%BACKUP_RESTORE_PASSWORD%"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"volumes": [
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_backup_cache",
|
|
|
|
"location": "/root",
|
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_nextcloud",
|
|
|
|
"location": "/nextcloud_aio_volumes/nextcloud_aio_nextcloud",
|
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
2022-03-08 23:49:13 +08:00
|
|
|
"name": "%NEXTCLOUD_DATADIR%",
|
2021-11-30 18:20:42 +08:00
|
|
|
"location": "/nextcloud_aio_volumes/nextcloud_aio_nextcloud_data",
|
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_database",
|
|
|
|
"location": "/nextcloud_aio_volumes/nextcloud_aio_database",
|
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_database_dump",
|
|
|
|
"location": "/nextcloud_aio_volumes/nextcloud_aio_database_dump",
|
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_apache",
|
|
|
|
"location": "/nextcloud_aio_volumes/nextcloud_aio_apache",
|
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_mastercontainer",
|
|
|
|
"location": "/nextcloud_aio_volumes/nextcloud_aio_mastercontainer",
|
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "%BORGBACKUP_HOST_LOCATION%",
|
|
|
|
"location": "/mnt/borgbackup",
|
|
|
|
"writeable": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"secrets": [
|
|
|
|
"BORGBACKUP_PASSWORD"
|
|
|
|
],
|
|
|
|
"maxShutdownTime": 10,
|
|
|
|
"restartPolicy": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"dependsOn": [],
|
|
|
|
"identifier": "nextcloud-aio-watchtower",
|
|
|
|
"displayName": "Watchtower",
|
|
|
|
"containerName": "nextcloud/aio-watchtower",
|
|
|
|
"ports": [],
|
|
|
|
"internalPorts": [],
|
|
|
|
"environmentVariables": [
|
|
|
|
"CONTAINER_TO_UPDATE=nextcloud-aio-mastercontainer"
|
|
|
|
],
|
|
|
|
"volumes": [
|
|
|
|
{
|
|
|
|
"name": "/var/run/docker.sock",
|
|
|
|
"location": "/var/run/docker.sock",
|
|
|
|
"writeable": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"secrets": [],
|
|
|
|
"maxShutdownTime": 10,
|
|
|
|
"restartPolicy": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"dependsOn": [],
|
|
|
|
"identifier": "nextcloud-aio-domaincheck",
|
|
|
|
"displayName": "Domaincheck",
|
|
|
|
"containerName": "nextcloud/aio-domaincheck",
|
|
|
|
"ports": [
|
2021-12-09 01:12:56 +08:00
|
|
|
"%APACHE_PORT%/tcp"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"internalPorts": [],
|
|
|
|
"environmentVariables": [
|
2021-12-09 01:12:56 +08:00
|
|
|
"INSTANCE_ID=%INSTANCE_ID%",
|
|
|
|
"APACHE_PORT=%APACHE_PORT%"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"volumes": [],
|
|
|
|
"secrets": [
|
|
|
|
"INSTANCE_ID"
|
|
|
|
],
|
|
|
|
"maxShutdownTime": 1,
|
|
|
|
"restartPolicy": ""
|
2022-03-16 06:46:58 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"dependsOn": [],
|
|
|
|
"identifier": "nextcloud-aio-clamav",
|
|
|
|
"displayName": "ClamAV",
|
|
|
|
"containerName": "nextcloud/aio-clamav",
|
|
|
|
"ports": [],
|
|
|
|
"internalPorts": [
|
|
|
|
"3310"
|
|
|
|
],
|
|
|
|
"environmentVariables": [],
|
2022-03-16 21:29:30 +08:00
|
|
|
"volumes": [
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_clamav",
|
|
|
|
"location": "/var/lib/clamav",
|
|
|
|
"writeable": true
|
|
|
|
}
|
|
|
|
],
|
2022-03-16 06:46:58 +08:00
|
|
|
"secrets": [],
|
|
|
|
"maxShutdownTime": 10,
|
|
|
|
"restartPolicy": "unless-stopped"
|
2022-03-17 17:13:21 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"dependsOn": [],
|
|
|
|
"identifier": "nextcloud-aio-onlyoffice",
|
|
|
|
"displayName": "OnlyOffice",
|
|
|
|
"containerName": "nextcloud/aio-onlyoffice",
|
|
|
|
"ports": [],
|
|
|
|
"internalPorts": [
|
|
|
|
"80"
|
|
|
|
],
|
|
|
|
"environmentVariables": [],
|
|
|
|
"volumes": [
|
|
|
|
{
|
|
|
|
"name": "nextcloud_aio_onlyoffice",
|
|
|
|
"location": "/var/lib/onlyoffice",
|
|
|
|
"writeable": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"secrets": [],
|
|
|
|
"maxShutdownTime": 10,
|
|
|
|
"restartPolicy": "unless-stopped"
|
2021-11-30 18:20:42 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|