making the deploy actually work
This commit is contained in:
parent
b4636a8be8
commit
eeb0c97ceb
|
@ -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
|
||||
|
|
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in New Issue