25 lines
518 B
YAML
25 lines
518 B
YAML
services:
|
|
overleafnginx:
|
|
image: nginx:stable-alpine
|
|
container_name: nginx
|
|
hostname: nginx
|
|
restart: always
|
|
volumes:
|
|
- "./key.pem:/certs/nginx_key.pem:ro"
|
|
- "./ca.pem:/certs/nginx_certificate.pem:ro"
|
|
- "./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:
|
|
- survey-network
|
|
|
|
networks:
|
|
survey-network:
|
|
external: true
|
|
|
|
|