Browse Source

Add Dockerfile, docker-compose.yaml and NGINX configuration.

Ahwx 1 year ago
parent
commit
1fb959e3ce
2 changed files with 8 additions and 1 deletions
  1. 7 0
      docker-compose.example.yaml
  2. 1 1
      nginx.conf

+ 7 - 0
docker-compose.example.yaml

@@ -0,0 +1,7 @@
+version: '3.3'
+services:
+  pinternet:
+    ports:
+     - '8015:8009'
+  container_name: pinternet
+  image: 'pinternet:latest'

+ 1 - 1
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;
         }
 }