Extra Quality - Production-settings
"Production settings" typically refers to the specialized configurations used when an application or project moves from a development environment to a live, public-facing "production" environment
- Use a Consistent Color Profile: Establish a consistent color profile across your project to ensure a cohesive look.
- Shoot in RAW: Shooting in RAW format provides greater flexibility during post-production and allows for easier color grading.
- Use a Standard Frame Rate: Use a standard frame rate, such as 24fps or 30fps, to ensure smooth playback and easy editing.
- Optimize Your Editing Software: Familiarize yourself with your editing software's settings and presets to ensure optimal performance.
7. Docker Production Settings
# Dockerfile production stage
FROM node:18-alpine AS production
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production && npm cache clean --force
COPY . .
USER node
EXPOSE 8080
CMD ["node", "server.js"]
# docker-compose.prod.yml
version: '3.8'
services:
app:
build:
context: .
target: production
restart: always
environment:
- NODE_ENV=production
networks:
- webnet
deploy:
replicas: 3
resources:
limits:
memory: 512M
logging:
driver: "json-file"
options:
max-size: "10m"
