overleaf/overleafnginx/compose.yaml

23 lines
589 B
YAML
Raw Permalink Normal View History

2024-07-13 04:02:40 +02:00
services:
overleafnginx:
image: nginx:stable-alpine
container_name: overleafnginx
hostname: overleafnginx
restart: always
volumes:
- "/root/overleafnginx/key.pem:/certs/nginx_key.pem:ro"
- "/root/overleafnginx/ca.pem:/certs/nginx_certificate.pem:ro"
- "/root/overleafnginx/nginx.conf:/etc/nginx/nginx.conf:ro"
ports:
- "0.0.0.0:443:443"
- "0.0.0.0:80:80"
environment:
NGINX_WORKER_PROCESSES: "4"
NGINX_WORKER_CONNECTIONS: "768"
networks:
- overleaf-network
networks:
overleaf-network:
external: true