Parcourir la source

docker-compose-production

hgh il y a 2 ans
Parent
commit
66d54b6eda
1 fichiers modifiés avec 17 ajouts et 0 suppressions
  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"