docker-compose.yml 418 B

123456789101112131415161718
  1. version: '3'
  2. services:
  3. backapp:
  4. build:
  5. context: .
  6. dockerfile: back.Dockerfile
  7. image: backapp
  8. ports:
  9. - "${PORT:-5000}:5000"
  10. environment:
  11. NODE_ENV: production
  12. SERVE_CLIENT: "${SERVE_CLIENT:-true}"
  13. PORT: "${PORT:-5000}"
  14. volumes:
  15. - "${IMAGES_PATH:-./images}:/usr/src/app/images"
  16. - "./logs:/usr/src/app/logs"