diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..07cc2d2 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3.8' +services: + next-app: + build: + context: . + dockerfile: Dockerfile + container_name: iykyka-next-service + restart: always + ports: + - "8080:3000" + environment: + - NODE_ENV=production + # πŸ’‘ λΉŒλ“œ 쀑 λ©”λͺ¨λ¦¬ λΆ€μ‘±(OOM) μ—λŸ¬λ₯Ό λ°©μ§€ν•˜κΈ° μœ„ν•΄ 램 μ œν•œμ„ 1.5GB μ΄μƒμœΌλ‘œ λ„‰λ„‰ν•˜κ²Œ λŠ˜λ €μ€λ‹ˆλ‹€. + deploy: + resources: + limits: + memory: 1536M +