overleaf/authentiknginx/compose.yaml

22 lines
595 B
YAML

services:
authentiknginx:
image: nginx:stable-alpine
container_name: authentiknginx
hostname: authentiknginx
restart: always
volumes:
- "/root/authentiknginx/key.pem:/certs/nginx_key.pem:ro"
- "/root/authentiknginx/ca.pem:/certs/nginx_certificate.pem:ro"
- "/root/authentiknginx/nginx.conf:/etc/nginx/nginx.conf:ro"
ports:
- "0.0.0.0:444:444"
- "0.0.0.0:81:81"
environment:
NGINX_WORKER_PROCESSES: "4"
NGINX_WORKER_CONNECTIONS: "768"
networks:
- overleaf-network
networks:
overleaf-network:
external: true