Ctrl K
ComunidadGuías…

docker-compose.yml

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
# Run AppBlips in your browser with: docker compose up -d
# Then open http://localhost:3000 (or the port you set as APPBLIPS_PORT).
services:
  appblips:
    build:
      context: .
    image: appblips:local
    ports:
      # 127.0.0.1 keeps AppBlips on this computer. It has no sign-in, so
      # anyone who can reach it can spend your API key: keep this prefix.
      - "127.0.0.1:${APPBLIPS_PORT:-3000}:3000"
    environment:
      # Fixed inside the container; a PORT in .env is for `npm start`.
      PORT: 3000
      HOST: 0.0.0.0
      APPBLIPS_PUBLIC_PORT: ${APPBLIPS_PORT:-3000}
      # The volume below. Set here so an empty one in .env can't override it.
      APPBLIPS_DATA_DIR: /data
    volumes:
      # The API key you enter under Settings → AI (only readable inside
      # this volume, never stored in the browser).
      - appblips-data:/data
    env_file:
      # Optional: an AI provider for the server. You can instead pick one in
      # the app under Settings → AI.
      - path: .env
        required: false
    restart: unless-stopped

volumes:
  appblips-data: