1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 07:18:06 +02:00
overleaf-toolkit/lib/docker-compose.nginx.yml

17 lines
471 B
YAML
Raw Permalink Normal View History

2021-04-08 11:56:10 +01:00
---
services:
nginx:
image: "${NGINX_IMAGE}"
2021-04-08 11:56:10 +01:00
ports:
- "${NGINX_TLS_LISTEN_IP:-0.0.0.0}:${TLS_PORT:-443}:443"
2021-11-17 19:16:18 +08:00
- "${NGINX_HTTP_LISTEN_IP:-127.0.1.1}:${NGINX_HTTP_PORT:-80}:80"
2021-04-08 11:56:10 +01:00
volumes:
2021-04-26 09:58:43 +01:00
- "${TLS_PRIVATE_KEY_PATH}:/certs/nginx_key.pem:ro"
- "${TLS_CERTIFICATE_PATH}:/certs/nginx_certificate.pem:ro"
- "${NGINX_CONFIG_PATH}:/etc/nginx/nginx.conf:ro"
2021-04-26 09:29:46 +01:00
restart: always
container_name: nginx
2021-04-08 11:56:10 +01:00
depends_on:
2021-11-17 19:16:18 +08:00
- sharelatex