working configuration

This commit is contained in:
2026-03-22 19:19:26 +01:00
parent c1a4025697
commit 5b83e1f492
63 changed files with 62182 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
services:
nextcloud:
image: nextcloud:latest
image: lscr.io/linuxserver/nextcloud:latest
container_name: nextcloud
environment:
- PUID=1000
@@ -12,9 +12,9 @@ services:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- ./nextcloud/config:/config
- ~/data/nextcloud:/data
- /home/enrico/data/nextcloud:/data
ports:
- 9443:80
- 9443:443
restart: unless-stopped
env_file:
- .env
@@ -63,6 +63,8 @@ services:
stop_grace_period: 60s
volumes:
- ./overleaf/sharelatex_data:/var/lib/overleaf
entrypoint: >
/bin/sh -c "chown -R www-data:www-data /var/lib/overleaf && apt-get update && apt-get install -y texlive-full && exec /sbin/my_init"
environment:
OVERLEAF_APP_NAME: Overleaf Community Edition
OVERLEAF_MONGO_URL: mongodb://mongo/sharelatex
@@ -71,11 +73,12 @@ services:
ENABLED_LINKED_FILE_TYPES: "project_file,project_output_file"
ENABLE_CONVERSIONS: "true"
EMAIL_CONFIRMATION_DISABLED: "true"
SANDBOXED_COMPILES: "true"
SANDBOXED_COMPILES_HOST_DIR_COMPILES: "./overleaf/sharelatex_data/data/compiles"
SANDBOXED_COMPILES_HOST_DIR_OUTPUT: "./overleaf/sharelatex_data/data/output"
DOCKER_RUNNER: "true"
SANDBOXED_COMPILES_SIBLING_CONTAINERS: "true"
SANDBOXED_COMPILES: "false"
# SANDBOXED_COMPILES_HOST_DIR_COMPILES: "./overleaf/sharelatex_data/data/compiles"
# SANDBOXED_COMPILES_HOST_DIR_OUTPUT: "./overleaf/sharelatex_data/data/output"
DOCKER_RUNNER: "false"
# SANDBOXED_COMPILES_SIBLING_CONTAINERS: "true"
OVERLEAF_ADMIN_EMAIL: "enrico.buratto96@gmail.com"
mongo:
restart: always
@@ -107,12 +110,12 @@ services:
- ./overleaf/redis_data:/data
postgres:
image: postgres:11
image: postgres:16
container_name: postgres_nextcloud
restart: unless-stopped
volumes:
- ./postgres/dbdata:/var/lib/postgresql/data
- ./postgres/dbdata/init:/docker-entrypoint-initdb.d
- ./postgres/init:/docker-entrypoint-initdb.d
env_file:
- .env
environment: