2021-11-30 18:20:42 +08:00
|
|
|
{
|
2022-12-31 06:49:54 +08:00
|
|
|
"aio_services_v1": [
|
2021-11-30 18:20:42 +08:00
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-apache",
|
2022-12-25 07:39:22 +08:00
|
|
|
"depends_on": [
|
2022-03-17 17:13:21 +08:00
|
|
|
"nextcloud-aio-onlyoffice",
|
2021-11-30 18:20:42 +08:00
|
|
|
"nextcloud-aio-collabora",
|
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
|
|
|
],
|
2022-12-25 07:55:54 +08:00
|
|
|
"display_name": "Apache",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-apache",
|
2021-11-30 18:20:42 +08:00
|
|
|
"ports": [
|
2022-12-26 00:08:41 +08:00
|
|
|
{
|
|
|
|
"ip_binding": "%APACHE_IP_BINDING%",
|
|
|
|
"port_number": "%APACHE_PORT%",
|
|
|
|
"protocol": "tcp"
|
|
|
|
}
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
2022-12-25 08:40:37 +08:00
|
|
|
"internal_port": "%APACHE_PORT%",
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2021-11-30 18:20:42 +08:00
|
|
|
"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%",
|
2022-05-19 00:36:51 +08:00
|
|
|
"ONLYOFFICE_HOST=nextcloud-aio-onlyoffice",
|
2022-09-21 00:16:17 +08:00
|
|
|
"TZ=%TIMEZONE%",
|
|
|
|
"APACHE_MAX_SIZE=%APACHE_MAX_SIZE%",
|
|
|
|
"APACHE_MAX_TIME=%NEXTCLOUD_MAX_TIME%"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"volumes": [
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_nextcloud",
|
|
|
|
"destination": "/var/www/html",
|
2021-11-30 18:20:42 +08:00
|
|
|
"writeable": false
|
|
|
|
},
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_apache",
|
|
|
|
"destination": "/mnt/data",
|
2021-11-30 18:20:42 +08:00
|
|
|
"writeable": true
|
|
|
|
}
|
|
|
|
],
|
2023-05-18 02:48:08 +08:00
|
|
|
"restart": "unless-stopped",
|
|
|
|
"backup_volumes": [
|
|
|
|
"nextcloud_aio_nextcloud",
|
|
|
|
"nextcloud_aio_apache"
|
|
|
|
]
|
2021-11-30 18:20:42 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-database",
|
2022-12-25 07:55:54 +08:00
|
|
|
"display_name": "Database",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-postgresql",
|
2023-02-02 22:11:40 +08:00
|
|
|
"expose": [
|
|
|
|
"5432"
|
|
|
|
],
|
2022-12-25 08:40:37 +08:00
|
|
|
"internal_port": "5432",
|
2021-11-30 18:20:42 +08:00
|
|
|
"secrets": [
|
|
|
|
"DATABASE_PASSWORD"
|
|
|
|
],
|
|
|
|
"volumes": [
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_database",
|
|
|
|
"destination": "/var/lib/postgresql/data",
|
2021-11-30 18:20:42 +08:00
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_database_dump",
|
|
|
|
"destination": "/mnt/data",
|
2021-11-30 18:20:42 +08:00
|
|
|
"writeable": true
|
|
|
|
}
|
|
|
|
],
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2021-11-30 18:20:42 +08:00
|
|
|
"POSTGRES_PASSWORD=%DATABASE_PASSWORD%",
|
|
|
|
"POSTGRES_DB=nextcloud_database",
|
2022-05-19 00:36:51 +08:00
|
|
|
"POSTGRES_USER=nextcloud",
|
2022-05-24 02:16:05 +08:00
|
|
|
"TZ=%TIMEZONE%",
|
|
|
|
"PGTZ=%TIMEZONE%"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
2022-12-25 07:50:17 +08:00
|
|
|
"stop_grace_period": 1800,
|
2023-03-29 16:57:44 +08:00
|
|
|
"restart": "unless-stopped",
|
2023-05-18 02:48:08 +08:00
|
|
|
"shm_size": 268435456,
|
|
|
|
"backup_volumes": [
|
|
|
|
"nextcloud_aio_database",
|
|
|
|
"nextcloud_aio_database_dump"
|
|
|
|
]
|
2021-11-30 18:20:42 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-nextcloud",
|
2022-12-25 07:39:22 +08:00
|
|
|
"depends_on": [
|
2021-11-30 18:20:42 +08:00
|
|
|
"nextcloud-aio-database",
|
2022-08-17 21:09:22 +08:00
|
|
|
"nextcloud-aio-redis",
|
2022-08-26 20:03:18 +08:00
|
|
|
"nextcloud-aio-clamav",
|
|
|
|
"nextcloud-aio-fulltextsearch",
|
2022-08-17 21:09:22 +08:00
|
|
|
"nextcloud-aio-imaginary"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
2022-12-25 07:55:54 +08:00
|
|
|
"display_name": "Nextcloud",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-nextcloud",
|
2023-02-02 22:11:40 +08:00
|
|
|
"expose": [
|
|
|
|
"9000",
|
|
|
|
"7867"
|
|
|
|
],
|
2022-12-25 08:40:37 +08:00
|
|
|
"internal_port": "9000",
|
2021-11-30 18:20:42 +08:00
|
|
|
"secrets": [
|
|
|
|
"DATABASE_PASSWORD",
|
|
|
|
"REDIS_PASSWORD",
|
|
|
|
"NEXTCLOUD_PASSWORD",
|
|
|
|
"TURN_SECRET",
|
|
|
|
"SIGNALING_SECRET"
|
|
|
|
],
|
|
|
|
"volumes": [
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_nextcloud",
|
|
|
|
"destination": "/var/www/html",
|
2021-11-30 18:20:42 +08:00
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "%NEXTCLOUD_DATADIR%",
|
|
|
|
"destination": "/mnt/ncdata",
|
2021-11-30 18:20:42 +08:00
|
|
|
"writeable": true
|
2022-02-22 00:31:05 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "%NEXTCLOUD_MOUNT%",
|
|
|
|
"destination": "%NEXTCLOUD_MOUNT%",
|
2022-02-22 00:31:05 +08:00
|
|
|
"writeable": true
|
2022-09-01 04:50:19 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "%NEXTCLOUD_TRUSTED_CACERTS_DIR%",
|
|
|
|
"destination": "/usr/local/share/ca-certificates",
|
2022-09-01 04:50:19 +08:00
|
|
|
"writeable": false
|
2021-11-30 18:20:42 +08:00
|
|
|
}
|
|
|
|
],
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2021-11-30 18:20:42 +08:00
|
|
|
"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-06-07 06:48:30 +08:00
|
|
|
"ONLYOFFICE_SECRET=%ONLYOFFICE_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",
|
2022-07-11 03:47:25 +08:00
|
|
|
"UPDATE_NEXTCLOUD_APPS=%UPDATE_NEXTCLOUD_APPS%",
|
2022-06-07 06:43:48 +08:00
|
|
|
"TZ=%TIMEZONE%",
|
2022-08-17 21:09:22 +08:00
|
|
|
"TALK_PORT=%TALK_PORT%",
|
|
|
|
"IMAGINARY_ENABLED=%IMAGINARY_ENABLED%",
|
2022-08-18 00:34:02 +08:00
|
|
|
"IMAGINARY_HOST=nextcloud-aio-imaginary",
|
2022-08-22 19:04:44 +08:00
|
|
|
"PHP_UPLOAD_LIMIT=%NEXTCLOUD_UPLOAD_LIMIT%",
|
2022-11-10 04:25:10 +08:00
|
|
|
"PHP_MEMORY_LIMIT=%NEXTCLOUD_MEMORY_LIMIT%",
|
2022-08-22 19:04:44 +08:00
|
|
|
"FULLTEXTSEARCH_ENABLED=%FULLTEXTSEARCH_ENABLED%",
|
2022-08-25 20:59:57 +08:00
|
|
|
"FULLTEXTSEARCH_HOST=nextcloud-aio-fulltextsearch",
|
2022-09-01 04:50:19 +08:00
|
|
|
"PHP_MAX_TIME=%NEXTCLOUD_MAX_TIME%",
|
2022-11-10 03:28:50 +08:00
|
|
|
"TRUSTED_CACERTS_DIR=%NEXTCLOUD_TRUSTED_CACERTS_DIR%",
|
2022-11-09 04:38:31 +08:00
|
|
|
"STARTUP_APPS=%NEXTCLOUD_STARTUP_APPS%",
|
|
|
|
"ADDITIONAL_APKS=%NEXTCLOUD_ADDITIONAL_APKS%",
|
2023-03-29 23:39:31 +08:00
|
|
|
"ADDITIONAL_PHP_EXTENSIONS=%NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS%",
|
|
|
|
"INSTALL_LATEST_MAJOR=%INSTALL_LATEST_MAJOR%"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
2023-01-03 09:01:03 +08:00
|
|
|
"restart": "unless-stopped",
|
|
|
|
"devices": [
|
|
|
|
"/dev/dri"
|
2023-05-18 02:48:08 +08:00
|
|
|
],
|
|
|
|
"backup_volumes": [
|
|
|
|
"nextcloud_aio_nextcloud"
|
2023-01-03 09:01:03 +08:00
|
|
|
]
|
2021-11-30 18:20:42 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-redis",
|
2022-12-25 07:55:54 +08:00
|
|
|
"display_name": "Redis",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-redis",
|
2023-02-02 22:11:40 +08:00
|
|
|
"expose": [
|
|
|
|
"6379"
|
|
|
|
],
|
2022-12-25 08:40:37 +08:00
|
|
|
"internal_port": "6379",
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2022-05-19 00:36:51 +08:00
|
|
|
"REDIS_HOST_PASSWORD=%REDIS_PASSWORD%",
|
|
|
|
"TZ=%TIMEZONE%"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
2022-12-09 18:38:33 +08:00
|
|
|
"volumes": [
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_redis",
|
|
|
|
"destination": "/data",
|
2022-12-09 18:38:33 +08:00
|
|
|
"writeable": true
|
|
|
|
}
|
|
|
|
],
|
2021-11-30 18:20:42 +08:00
|
|
|
"secrets": [
|
2022-06-07 06:48:30 +08:00
|
|
|
"REDIS_PASSWORD",
|
|
|
|
"ONLYOFFICE_SECRET"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
2022-12-25 07:52:01 +08:00
|
|
|
"restart": "unless-stopped"
|
2021-11-30 18:20:42 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-collabora",
|
2022-12-25 07:55:54 +08:00
|
|
|
"display_name": "Collabora",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-collabora",
|
2023-02-02 22:11:40 +08:00
|
|
|
"expose": [
|
|
|
|
"9980"
|
|
|
|
],
|
2022-12-25 08:40:37 +08:00
|
|
|
"internal_port": "9980",
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2022-04-13 21:39:32 +08:00
|
|
|
"aliasgroup1=https://%NC_DOMAIN%:443",
|
2023-03-10 00:55:48 +08:00
|
|
|
"extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:mount_jail_tree=false --o:logging.level=warning --o:home_mode.enable=true %COLLABORA_SECCOMP_POLICY% --o:remote_font_config.url=https://%NC_DOMAIN%/apps/richdocuments/settings/fonts.json",
|
2022-06-27 21:29:17 +08:00
|
|
|
"dictionaries=%COLLABORA_DICTIONARIES%",
|
2023-02-06 19:52:54 +08:00
|
|
|
"TZ=%TIMEZONE%",
|
2023-05-01 17:17:36 +08:00
|
|
|
"server_name=%NC_DOMAIN%",
|
|
|
|
"DONT_GEN_SSL_CERT=1"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
2022-12-09 18:43:50 +08:00
|
|
|
"volumes": [
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_collabora_fonts",
|
|
|
|
"destination": "/opt/cool/systemplate/tmpfonts",
|
2022-12-09 18:43:50 +08:00
|
|
|
"writeable": true
|
|
|
|
}
|
|
|
|
],
|
2022-12-25 07:52:01 +08:00
|
|
|
"restart": "unless-stopped"
|
2021-11-30 18:20:42 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-talk",
|
2022-12-25 07:55:54 +08:00
|
|
|
"display_name": "Talk",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-talk",
|
2021-11-30 18:20:42 +08:00
|
|
|
"ports": [
|
2022-12-26 00:08:41 +08:00
|
|
|
{
|
|
|
|
"ip_binding": "",
|
|
|
|
"port_number": "%TALK_PORT%",
|
|
|
|
"protocol": "tcp"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"ip_binding": "",
|
|
|
|
"port_number": "%TALK_PORT%",
|
|
|
|
"protocol": "udp"
|
|
|
|
}
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
2023-02-03 17:48:30 +08:00
|
|
|
"expose": [
|
|
|
|
"8081"
|
|
|
|
],
|
2022-12-25 08:40:37 +08:00
|
|
|
"internal_port": "%TALK_PORT%",
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2021-11-30 18:20:42 +08:00
|
|
|
"NC_DOMAIN=%NC_DOMAIN%",
|
|
|
|
"TURN_SECRET=%TURN_SECRET%",
|
|
|
|
"SIGNALING_SECRET=%SIGNALING_SECRET%",
|
2022-06-07 06:43:48 +08:00
|
|
|
"TZ=%TIMEZONE%",
|
|
|
|
"TALK_PORT=%TALK_PORT%"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"secrets": [
|
|
|
|
"TURN_SECRET",
|
2023-02-21 20:28:22 +08:00
|
|
|
"SIGNALING_SECRET"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
2022-12-25 07:52:01 +08:00
|
|
|
"restart": "unless-stopped"
|
2021-11-30 18:20:42 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-borgbackup",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-borgbackup",
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2021-11-30 18:20:42 +08:00
|
|
|
"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%",
|
2022-08-22 23:35:03 +08:00
|
|
|
"BACKUP_RESTORE_PASSWORD=%BACKUP_RESTORE_PASSWORD%",
|
|
|
|
"ADDITIONAL_DIRECTORIES_BACKUP=%ADDITIONAL_DIRECTORIES_BACKUP%",
|
2023-04-25 15:11:10 +08:00
|
|
|
"BORGBACKUP_HOST_LOCATION=%BORGBACKUP_HOST_LOCATION%",
|
|
|
|
"BORG_HOST_ID=nextcloud-aio-borgbackup"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"volumes": [
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_backup_cache",
|
|
|
|
"destination": "/root",
|
2021-11-30 18:20:42 +08:00
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "%NEXTCLOUD_DATADIR%",
|
|
|
|
"destination": "/nextcloud_aio_volumes/nextcloud_aio_nextcloud_data",
|
2021-11-30 18:20:42 +08:00
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_mastercontainer",
|
|
|
|
"destination": "/nextcloud_aio_volumes/nextcloud_aio_mastercontainer",
|
2021-11-30 18:20:42 +08:00
|
|
|
"writeable": true
|
|
|
|
},
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "%BORGBACKUP_HOST_LOCATION%",
|
|
|
|
"destination": "/mnt/borgbackup",
|
2021-11-30 18:20:42 +08:00
|
|
|
"writeable": true
|
2022-12-13 01:16:24 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_elasticsearch",
|
|
|
|
"destination": "/nextcloud_aio_volumes/nextcloud_aio_elasticsearch",
|
2022-12-13 01:16:24 +08:00
|
|
|
"writeable": true
|
2022-12-13 21:32:38 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_redis",
|
|
|
|
"destination": "/mnt/redis",
|
2022-12-13 21:32:38 +08:00
|
|
|
"writeable": true
|
2021-11-30 18:20:42 +08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"secrets": [
|
|
|
|
"BORGBACKUP_PASSWORD"
|
2023-01-03 09:01:03 +08:00
|
|
|
],
|
|
|
|
"devices": [
|
|
|
|
"/dev/fuse"
|
2023-03-06 18:36:36 +08:00
|
|
|
],
|
|
|
|
"cap_add": [
|
|
|
|
"SYS_ADMIN"
|
2023-04-28 01:24:14 +08:00
|
|
|
],
|
|
|
|
"apparmor_unconfined": true
|
2021-11-30 18:20:42 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-watchtower",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-watchtower",
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2021-11-30 18:20:42 +08:00
|
|
|
"CONTAINER_TO_UPDATE=nextcloud-aio-mastercontainer"
|
|
|
|
],
|
|
|
|
"volumes": [
|
|
|
|
{
|
2023-04-16 23:47:15 +08:00
|
|
|
"source": "%WATCHTOWER_DOCKER_SOCKET_PATH%",
|
2022-12-31 05:56:37 +08:00
|
|
|
"destination": "/var/run/docker.sock",
|
2021-11-30 18:20:42 +08:00
|
|
|
"writeable": false
|
|
|
|
}
|
2022-12-31 06:40:19 +08:00
|
|
|
]
|
2021-11-30 18:20:42 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-domaincheck",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-domaincheck",
|
2021-11-30 18:20:42 +08:00
|
|
|
"ports": [
|
2022-12-26 00:08:41 +08:00
|
|
|
{
|
|
|
|
"ip_binding": "%APACHE_IP_BINDING%",
|
|
|
|
"port_number": "%APACHE_PORT%",
|
|
|
|
"protocol": "tcp"
|
|
|
|
}
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2021-12-09 01:12:56 +08:00
|
|
|
"INSTANCE_ID=%INSTANCE_ID%",
|
|
|
|
"APACHE_PORT=%APACHE_PORT%"
|
2021-11-30 18:20:42 +08:00
|
|
|
],
|
|
|
|
"secrets": [
|
|
|
|
"INSTANCE_ID"
|
|
|
|
],
|
2022-12-31 06:40:19 +08:00
|
|
|
"stop_grace_period": 1
|
2022-03-16 06:46:58 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-clamav",
|
2022-12-25 07:55:54 +08:00
|
|
|
"display_name": "ClamAV",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-clamav",
|
2023-02-02 22:11:40 +08:00
|
|
|
"expose": [
|
|
|
|
"3310"
|
|
|
|
],
|
2022-12-25 08:40:37 +08:00
|
|
|
"internal_port": "3310",
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2022-12-17 22:33:28 +08:00
|
|
|
"TZ=%TIMEZONE%",
|
|
|
|
"CLAMD_STARTUP_TIMEOUT=90"
|
2022-05-19 00:36:51 +08:00
|
|
|
],
|
2022-03-16 21:29:30 +08:00
|
|
|
"volumes": [
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_clamav",
|
|
|
|
"destination": "/var/lib/clamav",
|
2022-03-16 21:29:30 +08:00
|
|
|
"writeable": true
|
|
|
|
}
|
|
|
|
],
|
2022-12-25 07:52:01 +08:00
|
|
|
"restart": "unless-stopped"
|
2022-03-17 17:13:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-onlyoffice",
|
2022-12-25 07:55:54 +08:00
|
|
|
"display_name": "OnlyOffice",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-onlyoffice",
|
2023-02-02 22:11:40 +08:00
|
|
|
"expose": [
|
|
|
|
"80"
|
|
|
|
],
|
2022-12-25 08:40:37 +08:00
|
|
|
"internal_port": "80",
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2022-06-07 06:48:30 +08:00
|
|
|
"TZ=%TIMEZONE%",
|
|
|
|
"JWT_ENABLED=true",
|
|
|
|
"JWT_HEADER=AuthorizationJwt",
|
|
|
|
"JWT_SECRET=%ONLYOFFICE_SECRET%"
|
2022-05-19 00:36:51 +08:00
|
|
|
],
|
2022-03-17 17:13:21 +08:00
|
|
|
"volumes": [
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_onlyoffice",
|
|
|
|
"destination": "/var/lib/onlyoffice",
|
2022-03-17 17:13:21 +08:00
|
|
|
"writeable": true
|
|
|
|
}
|
|
|
|
],
|
2022-06-07 06:48:30 +08:00
|
|
|
"secrets": [
|
|
|
|
"ONLYOFFICE_SECRET"
|
|
|
|
],
|
2022-12-25 07:52:01 +08:00
|
|
|
"restart": "unless-stopped"
|
2022-08-17 21:09:22 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-imaginary",
|
2022-12-25 07:55:54 +08:00
|
|
|
"display_name": "Imaginary",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-imaginary",
|
2023-02-02 22:11:40 +08:00
|
|
|
"expose": [
|
|
|
|
"9000"
|
|
|
|
],
|
2022-12-25 08:40:37 +08:00
|
|
|
"internal_port": "9000",
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2022-08-17 21:09:22 +08:00
|
|
|
"TZ=%TIMEZONE%"
|
|
|
|
],
|
2023-03-06 18:36:36 +08:00
|
|
|
"restart": "unless-stopped",
|
|
|
|
"cap_add": [
|
|
|
|
"SYS_NICE"
|
|
|
|
]
|
2022-08-22 19:04:44 +08:00
|
|
|
},
|
|
|
|
{
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": "nextcloud-aio-fulltextsearch",
|
2022-12-25 07:55:54 +08:00
|
|
|
"display_name": "Fulltextsearch",
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": "nextcloud/aio-fulltextsearch",
|
2023-02-02 22:11:40 +08:00
|
|
|
"expose": [
|
|
|
|
"9200"
|
|
|
|
],
|
2022-12-25 08:40:37 +08:00
|
|
|
"internal_port": "9200",
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": [
|
2022-08-22 19:04:44 +08:00
|
|
|
"TZ=%TIMEZONE%",
|
|
|
|
"discovery.type=single-node",
|
2023-02-02 06:52:28 +08:00
|
|
|
"ES_JAVA_OPTS=-Xms1024M -Xmx1024M",
|
|
|
|
"POSTGRES_HOST=nextcloud-aio-database"
|
2022-08-22 19:04:44 +08:00
|
|
|
],
|
|
|
|
"volumes": [
|
|
|
|
{
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": "nextcloud_aio_elasticsearch",
|
|
|
|
"destination": "/usr/share/elasticsearch/data",
|
2022-08-22 19:04:44 +08:00
|
|
|
"writeable": true
|
|
|
|
}
|
|
|
|
],
|
2022-12-25 07:52:01 +08:00
|
|
|
"restart": "unless-stopped"
|
2021-11-30 18:20:42 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|