hgh 1 year ago
parent
commit
edc6393ed9
2 changed files with 8 additions and 8 deletions
  1. 1 1
      Dockerfile
  2. 7 7
      docker-compose.yml

+ 1 - 1
Dockerfile

@@ -12,7 +12,7 @@ ARG APP_API_SERVER=https://shahidpalizvani.ir/api
 ARG VUEX_PERSISTED_STATE_KEY=vuex
 ARG GET_TIME_SERVER=/time
 ARG APP_API=/api
-ARG NGINX_PORT=8081
+ARG NGINX_PORT=80
 ARG SSR_PORT=3000
 ARG APP_ENV=development
 ARG GOOGLE_TAG_MANAGER_TOKEN=GTM-PNP1111

+ 7 - 7
docker-compose.yml

@@ -4,13 +4,13 @@ services:
     build: ./
     network_mode: "host"
     restart: "always"
-  nginx:
-    build: ./nginx
-    network_mode: "host"
-    volumes:
-      - ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
-    depends_on:
-      - nextjs
+#  nginx:
+#    build: ./nginx
+#    network_mode: "host"
+#    volumes:
+#      - ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
+#    depends_on:
+#      - nextjs
 #    ports:
 #      - "8081:80"
 #    ports: