ソースを参照

aggiornamento

root 1 ヶ月 前
コミット
0629cfbc7f
2 ファイル変更45 行追加7 行削除
  1. 44 6
      docker-compose.yml
  2. 1 1
      postfix/postfix.yml

+ 44 - 6
docker-compose.yml

@@ -43,8 +43,27 @@ services:
     environment:
       TZ: Europe/Rome
     ports:
-      - 10089:80
-      - 10449:443
+      - 10083:80
+      - 10483:443
+    volumes:
+      - net012:/home/httpd
+    entrypoint: ['/bin/bash','/root/run.sh']
+    restart: unless-stopped
+
+  php81-net012:
+    image: php81
+    depends_on:
+      - apache2
+    build:
+      context: php
+      dockerfile: php.yml
+      args:
+        PHP_VERSION: 8.1
+    environment:
+      TZ: Europe/Rome
+    ports:
+      - 10081:80
+      - 10481:443
     volumes:
       - net012:/home/httpd
     entrypoint: ['/bin/bash','/root/run.sh']
@@ -62,8 +81,27 @@ services:
     environment:
       TZ: Europe/Rome
     ports:
-      - 11089:80
-      - 11449:443
+      - 11083:80
+      - 11483:443
+    volumes:
+      - net060:/home/httpd
+    entrypoint: ['/bin/bash','/root/run.sh']
+    restart: unless-stopped
+
+  php81-net060:
+    image: php81
+    depends_on:
+      - apache2
+    build:
+      context: php
+      dockerfile: php.yml
+      args:
+        PHP_VERSION: 8.1
+    environment:
+      TZ: Europe/Rome
+    ports:
+      - 11081:80
+      - 11481:443
     volumes:
       - net060:/home/httpd
     entrypoint: ['/bin/bash','/root/run.sh']
@@ -74,14 +112,14 @@ volumes:
     driver: local
     driver_opts:
       type: nfs
-      o: "addr=10.132.0.12,soft,rw,noexec,nosuid,nodev"
+      o: "addr=10.132.0.12,soft,rw,noexec,nosuid,nodev,async"
       device: ":/home/httpd"
 
   net060:
     driver: local
     driver_opts:
       type: nfs
-      o: "addr=10.132.0.60,soft,rw,noexec,nosuid,nodev"
+      o: "addr=10.132.0.60,soft,rw,noexec,nosuid,nodev,async"
       device: ":/home/httpd"
 
 

+ 1 - 1
postfix/postfix.yml

@@ -3,4 +3,4 @@ RUN apt update
 RUN apt install bsd-mailx postfix -y
 RUN echo "root: server@altemica.net" >> /etc/aliases
 RUN echo newaliases
-RUN postconf relayhost=[10.132.0.8]
+RUN postconf relayhost=[10.132.15.210]