services:
  backend:
    build: .
    restart: always
    environment:
      NODE_ENV: production
      PORT: 4000
      DATABASE_URL: ${DATABASE_URL}
      UPLOAD_PATH: /app/uploads
      APP_URL: ${APP_URL:-https://api.travelmarine.ru}
    volumes:
      - ${UPLOADS_PATH:-./uploads}:/app/uploads
    networks:
      - app-network

networks:
  app-network:
    external: true
