jean-cloud-services/old_services/latex.jean-cloud.net/docker-compose.yml

61 lines
2.1 KiB
YAML
Raw Permalink Normal View History

2024-01-02 16:50:14 +00:00
# To create users:
# cd /var/www/sharelatex
# grunt user:create-admin
version: '3'
services:
latex_jean-cloud_net:
restart: unless-stopped
image: sharelatex/sharelatex
#image: jeancloud/sharelatex:full
#build: .
depends_on:
- mongo
- redis
privileged: true
networks:
- default
- ingress
volumes:
- /data/latex.jean-cloud.net/sharelatex:/var/lib/sharelatex
environment:
SHARELATEX_MONGO_URL: mongodb://mongo/sharelatex
SHARELATEX_REDIS_HOST: redis
SHARELATEX_APP_NAME: latex.jean-cloud.net
## Set for SSL via nginx-proxy
#VIRTUAL_HOST: 103.112.212.22
SHARELATEX_SITE_URL: https://latex.jean-cloud.net
SHARELATEX_NAV_TITLE: L'editeur latex de jean-cloud
# SHARELATEX_HEADER_IMAGE_URL: http://somewhere.com/mylogo.png
SHARELATEX_ADMIN_EMAIL: contact@jean-cloud.org
SHARELATEX_LEFT_FOOTER: '[{"text": "Editeur latex en ligne <a href=\"https://www.sharelatex.com\">ShareLaTeX</a> 2016"},{"text": "Heberge par <a href=\"https://jean-cloud.net\">jean-cloud</a>, <a href=\"\">CGU</a>"} ]'
# SHARELATEX_RIGHT_FOOTER: '[{"text": "Hello I am on the Right"} ]'
SHARELATEX_EMAIL_FROM_ADDRESS: "nepasrepondre@jean-cloud.org"
SHARELATEX_EMAIL_SMTP_HOST: "mail.gandi.net"
SHARELATEX_EMAIL_SMTP_PORT: "465"
SHARELATEX_EMAIL_SMTP_SECURE: "true"
SHARELATEX_EMAIL_SMTP_USER: "nepasrepondre@jean-cloud.org"
SHARELATEX_EMAIL_SMTP_PASS: ""
SHARELATEX_EMAIL_SMTP_TLS_REJECT_UNAUTH: "true"
SHARELATEX_EMAIL_SMTP_IGNORE_TLS: "false"
SHARELATEX_CUSTOM_EMAIL_FOOTER: '<div><a href="https://jean-cloud.net">Jean-Cloud</a></div>'
mongo:
restart: unless-stopped
image: mongo
volumes:
- /data/latex.jean-cloud.net/mongo:/data/db
redis:
restart: unless-stopped
image: redis
volumes:
- /data/latex.jean-cloud.net/redis:/data
networks:
ingress:
external: true