From 1b1abb548d4139ea11a70af8b9af4601e53300b5 Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Fri, 5 Jul 2024 19:00:55 +0200 Subject: [PATCH] Create compose.yaml --- nginx/compose.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nginx/compose.yaml diff --git a/nginx/compose.yaml b/nginx/compose.yaml new file mode 100644 index 0000000..9b722f3 --- /dev/null +++ b/nginx/compose.yaml @@ -0,0 +1,17 @@ +services: + nginx: + image: nginx:stable-alpine + container_name: nginx + restart: always + volumes: + - "/root/nginx/key.pem:/certs/nginx_key.pem:ro" + - "/root/nginx/ca.pem:/certs/nginx_certificate.pem:ro" + - "/root/nginx/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" + network_mode: bridge +