news-analyze/docker-compose.yml
吳元皓 0c904fd5bd
Some checks failed
Build and Push Beta Image / build-and-push (push) Has been cancelled
Delete funding.yml as the Lawsnotes thingy & Update README & Wipedev
scripts to give windows ppl a script to use & add MORE docker-compose
files :D also updated deploy.md & gitignore, but the groq api thing is
still broken tho.
2025-07-02 22:46:39 +08:00

33 lines
835 B
YAML
Executable file

services:
reverse-proxy:
image: traefik:v3.1
command:
- "--providers.docker"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
ports:
- 127.0.0.1:36694:80
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- web
newsanalyze-service:
image: ghcr.io/hpware/news-analyze:latest
networks:
- web
labels:
- "traefik.enable=true"
- "traefik.http.routers.newsanalyze.rule=Host(`YOUR_HOSTNAME_HERE`)" # CHANGE TO YOUR HOSTNAME
- "traefik.http.services.newsanalyze.loadbalancer.server.port=3000"
- "com.centurylinklabs.watchtower.enable=true"
restart: unless-stopped
env_file:
- path: ./.env
required: true
deploy:
mode: replicated
replicas: 3
networks:
web: