newsnow Docker & Self-Hosted Deployment

GitHub

Elegant reading of real-time and hottest news

22,064 stars TypeScript TypeScript 1 file ยท ~981 tokens #elegant#news
RAW Compose
1. Pull Image (DOCKERHUB) docker pull ourongxing/newsnow
2. Docker Run (1-Click Launch) docker run -d --name newsnow -p 4444:4444 --restart always ourongxing/newsnow:latest
3. Podman Run podman run -d --name newsnow -p 4444:4444 --restart always ourongxing/newsnow:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/ourongxing/newsnow:latest
5. ORAS Pull (OCI Artifact) oras pull ourongxing/newsnow:latest
6. Compose Deployment docker compose up -d
docker-compose.local.yml
Download .yml
services:
  newsnow:
    build: .
    ports:
      - '4444:4444'
    volumes:
      - newsnow_data:/usr/app/.data
    environment:
      - G_CLIENT_ID=
      - G_CLIENT_SECRET=
      - JWT_SECRET=
      - INIT_TABLE=true
      - ENABLE_CACHE=true

volumes:
  newsnow_data:
    name: newsnow_data