tanbushi commited on
Commit
bd0fca2
·
1 Parent(s): 1c643a8
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. docker-compose.yml +2 -2
Dockerfile CHANGED
@@ -2,5 +2,5 @@ FROM diygod/rsshub
2
  WORKDIR /app
3
  ENV NODE_ENV=production
4
  ENV CACHE_TYPE=memory
5
- EXPOSE 1200
6
  CMD ["npm", "run", "start"]
 
2
  WORKDIR /app
3
  ENV NODE_ENV=production
4
  ENV CACHE_TYPE=memory
5
+ EXPOSE 7860
6
  CMD ["npm", "run", "start"]
docker-compose.yml CHANGED
@@ -6,7 +6,7 @@ services:
6
  image: diygod/rsshub # or ghcr.io/diygod/rsshub
7
  restart: always
8
  ports:
9
- - '1200:1200'
10
  environment:
11
  NODE_ENV: production
12
  CACHE_TYPE: redis
@@ -14,7 +14,7 @@ services:
14
  PUPPETEER_WS_ENDPOINT: 'ws://browserless:3000' # marked
15
  PUPPETEER_REAL_BROWSER_SERVICE: 'http://real-browser:3000' # marked
16
  healthcheck:
17
- test: ['CMD', 'curl', '-f', 'http://localhost:1200/healthz']
18
  interval: 30s
19
  timeout: 10s
20
  retries: 3
 
6
  image: diygod/rsshub # or ghcr.io/diygod/rsshub
7
  restart: always
8
  ports:
9
+ - '7860:7860'
10
  environment:
11
  NODE_ENV: production
12
  CACHE_TYPE: redis
 
14
  PUPPETEER_WS_ENDPOINT: 'ws://browserless:3000' # marked
15
  PUPPETEER_REAL_BROWSER_SERVICE: 'http://real-browser:3000' # marked
16
  healthcheck:
17
+ test: ['CMD', 'curl', '-f', 'http://localhost:7860/healthz']
18
  interval: 30s
19
  timeout: 10s
20
  retries: 3