From 1fb959e3cec5706703dd73a98aae4116e60e165c Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sat, 20 May 2023 13:27:36 +0200 Subject: [PATCH] Add Dockerfile, docker-compose.yaml and NGINX configuration. --- docker-compose.example.yaml | 7 +++++++ nginx.conf | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 docker-compose.example.yaml diff --git a/docker-compose.example.yaml b/docker-compose.example.yaml new file mode 100644 index 0000000..ee4fce0 --- /dev/null +++ b/docker-compose.example.yaml @@ -0,0 +1,7 @@ +version: '3.3' +services: + pinternet: + ports: + - '8015:8009' + container_name: pinternet + image: 'pinternet:latest' diff --git a/nginx.conf b/nginx.conf index c7598aa..f43a85d 100644 --- a/nginx.conf +++ b/nginx.conf @@ -6,6 +6,6 @@ server { location ~ \.php$ { include snippets/fastcgi-php.conf; - fastcgi_pass unix:/run/php/php-fpm.sock; + fastcgi_pass unix:/run/php/php7.4-fpm.sock; } }