mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-16 18:50:20 +00:00
adjust some details
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
615b90bc12
commit
c534663a05
2 changed files with 59 additions and 73 deletions
|
|
@ -1,16 +1,62 @@
|
|||
{
|
||||
"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": "7",
|
||||
"image_tag": "6.2",
|
||||
"internal_port": "6379",
|
||||
"restart": "unless-stopped",
|
||||
"expose": [
|
||||
"6379"
|
||||
],
|
||||
"environment": [
|
||||
"TZ=%TIMEZONE%"
|
||||
],
|
||||
|
|
@ -27,70 +73,29 @@
|
|||
"display_name": "Overleaf MongoDB",
|
||||
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/overleaf",
|
||||
"image": "mongo",
|
||||
"image_tag": "5",
|
||||
"image_tag": "6.0",
|
||||
"internal_port": "27017",
|
||||
"restart": "unless-stopped",
|
||||
"expose": [
|
||||
"27017"
|
||||
],
|
||||
"environment": [
|
||||
"TZ=%TIMEZONE%"
|
||||
"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"
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "latest",
|
||||
"internal_port": "80",
|
||||
"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%",
|
||||
"SHARELATEX_MONGO_URL=mongodb://nextcloud-aio-overleaf-mongo:27017/sharelatex",
|
||||
"SHARELATEX_REDIS_HOST=nextcloud-aio-overleaf-redis",
|
||||
"SHARELATEX_REDIS_PORT=6379",
|
||||
"SHARELATEX_APP_NAME=Overleaf"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"source": "nextcloud_aio_overleaf",
|
||||
"destination": "/var/lib/sharelatex",
|
||||
"writeable": true
|
||||
}
|
||||
],
|
||||
"backup_volumes": [
|
||||
"nextcloud_aio_overleaf",
|
||||
"nextcloud_aio_overleaf_mongo"
|
||||
],
|
||||
"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 integration_overleaf base_url...'",
|
||||
"php /var/www/html/occ config:app:set integration_overleaf base_url --value 'http://%NC_DOMAIN%:8050'"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue