Browse Source

docker-compose-production

hgh 2 năm trước cách đây
mục cha
commit
66d54b6eda
1 tập tin đã thay đổi với 17 bổ sung và 0 xóa
  1. 17 0
      docker-compose-production.yml

+ 17 - 0
docker-compose-production.yml

@@ -0,0 +1,17 @@
+version: "3.3"
+services:
+  nextjs:
+    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
+#    ports:
+#      - "8081:80"
+#    ports:
+#      - "${NGINX_PORT}:80"