Docker Compose for Remix

A Remix application. Full-stack React framework focused on web fundamentals.

react remix frontend fullstack
compose.yaml
services:
  web:
    build: .
    ports:
      - target: 3000
        mode: ingress
    environment:
      - NODE_ENV=production
    healthcheck:
      test:
        - CMD
        - curl
        - -f
        - http://localhost:3000/
      interval: 30s
      timeout: 5s
      retries: 3
    deploy:
      resources:
        reservations:
          cpus: "0.5"
          memory: 256M
    restart: unless-stopped

Services

  • web .

Deploy

$ npx defang@latest compose up

Learn more about Defang