all-in-one/community-containers/overleaf/overleaf.json
Simon L. c534663a05 adjust some details
Signed-off-by: Simon L. <szaimen@e.mail.de>
2026-01-28 10:54:47 +01:00

101 lines
3.2 KiB
JSON

{
"aio_services_v1": [
{
"container_name": "nextcloud-aio-overleaf",
"display_name": "Overleaf",
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/overleaf",
"image": "sharelatex/sharelatex",
"image_tag": "5",
"internal_port": "8050",
"restart": "unless-stopped",
"depends_on": [
"nextcloud-aio-overleaf-mongo",
"nextcloud-aio-overleaf-redis"
],
"ports": [
{
"ip_binding": "%APACHE_IP_BINDING%",
"port_number": "8050",
"protocol": "tcp"
}
],
"environment": [
"TZ=%TIMEZONE%",
"OVERLEAF_MONGO_URL=mongodb://nextcloud-aio-overleaf-mongo/sharelatex",
"OVERLEAF_REDIS_HOST=nextcloud-aio-overleaf-redis",
"REDIS_HOST=nextcloud-aio-overleaf-redis",
"OVERLEAF_APP_NAME='Overleaf Community Edition'",
"ENABLED_LINKED_FILE_TYPES=project_file,project_output_file",
"ENABLE_CONVERSIONS=true",
"EMAIL_CONFIRMATION_DISABLED=true",
"OVERLEAF_SITE_URL=https://overleaf.%NC_DOMAIN%",
"WEB_PORT=8050"
],
"volumes": [
{
"source": "nextcloud_aio_overleaf",
"destination": "/var/lib/overleaf",
"writeable": true
}
],
"backup_volumes": [
"nextcloud_aio_overleaf"
],
"nextcloud_exec_commands": [
"echo 'Installing integration_overleaf app...'",
"php /var/www/html/occ app:install integration_overleaf",
"php /var/www/html/occ app:enable integration_overleaf",
"echo 'Configuring overleaf url...'",
"php /var/www/html/occ config:app:set overleaf_server --value https://overleaf.%NC_DOMAIN%"
]
},
{
"container_name": "nextcloud-aio-overleaf-redis",
"display_name": "Overleaf Redis",
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/overleaf",
"image": "redis",
"image_tag": "6.2",
"internal_port": "6379",
"restart": "unless-stopped",
"environment": [
"TZ=%TIMEZONE%"
],
"volumes": [
{
"source": "nextcloud_aio_overleaf_redis",
"destination": "/data",
"writeable": true
}
]
},
{
"container_name": "nextcloud-aio-overleaf-mongo",
"display_name": "Overleaf MongoDB",
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/overleaf",
"image": "mongo",
"image_tag": "6.0",
"internal_port": "27017",
"restart": "unless-stopped",
"environment": [
"TZ=%TIMEZONE%",
"MONGO_INITDB_DATABASE=sharelatex"
],
"command": "--replSet overleaf",
"volumes": [
{
"source": "nextcloud_aio_overleaf_mongo",
"destination": "/data/db",
"writeable": true
},
{
"source": "./bin/shared/mongodb-init-replica-set.js",
"destination": "/docker-entrypoint-initdb.d/mongodb-init-replica-set.js",
"writeable": false
}
],
"backup_volumes": [
"nextcloud_aio_overleaf_mongo"
]
}
]
}