making the deploy actually work

This commit is contained in:
decentral1se 2022-08-17 15:11:53 +02:00
parent b4636a8be8
commit eeb0c97ceb
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 5 additions and 6 deletions

View File

@ -7,8 +7,8 @@ services:
environment:
- NODE_ENV=production
- CACHE_TYPE=redis
- REDIS_URL="redis://redis:6379/"
- PUPPETEER_WS_ENDPOINT="ws://browserless:3000"
- REDIS_URL=redis://redis:6379/
- PUPPETEER_WS_ENDPOINT=ws://browserless:3000
networks:
- proxy
- internal
@ -17,7 +17,6 @@ services:
target: /docker-entrypoint.sh
mode: 0555
entrypoint: /docker-entrypoint.sh
command: npm run start
deploy:
restart_policy:
condition: on-failure

View File

@ -28,6 +28,6 @@ file_env() {
file_env "IG_PASSWORD"
{{ end }}
# upstream startup command
# https://raw.githubusercontent.com/DIYgod/RSSHub/master/Dockerfile
dumb-init --
# upstream CMD
# https://github.com/DIYgod/RSSHub/blob/f4e9f8dcaacc75e9f936545da58d4b7c2e27e5ab/Dockerfile#L182
npm run start "$@"