소스 검색

docker-compose-production

hgh 2 년 전
부모
커밋
66d54b6eda
1개의 변경된 파일과 17개의 추가작업 그리고 0개의 파일을 삭제
  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"