mirror of
https://github.com/pretix/pretix.git
synced 2026-06-11 01:25:13 +00:00
Solve some Docker Setup scaling issues (#1561)
This commit is contained in:
@@ -4,7 +4,7 @@ pid /var/run/nginx.pid;
|
|||||||
daemon off;
|
daemon off;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 768;
|
worker_connections 4096;
|
||||||
}
|
}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
@@ -39,7 +39,7 @@ http {
|
|||||||
include /etc/nginx/conf.d/*.conf;
|
include /etc/nginx/conf.d/*.conf;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 80 backlog=4096 default_server;
|
||||||
listen [::]:80 ipv6only=on default_server;
|
listen [::]:80 ipv6only=on default_server;
|
||||||
server_name _;
|
server_name _;
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|||||||
@@ -182,6 +182,7 @@ named ``/etc/systemd/system/pretix.service`` with the following content::
|
|||||||
-v /var/pretix-data:/data \
|
-v /var/pretix-data:/data \
|
||||||
-v /etc/pretix:/etc/pretix \
|
-v /etc/pretix:/etc/pretix \
|
||||||
-v /var/run/redis:/var/run/redis \
|
-v /var/run/redis:/var/run/redis \
|
||||||
|
--sysctl net.core.somaxconn=4096
|
||||||
pretix/standalone:stable all
|
pretix/standalone:stable all
|
||||||
ExecStop=/usr/bin/docker stop %n
|
ExecStop=/usr/bin/docker stop %n
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user