mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
refactor: change how DEBUG behaves in prod
The env var now only affects the bot container, not the API. This is because we don't currently need this extra debug information for the API. For the bot, with DEBUG set, the bot container will now start and do nothing. To start the bot in this container in debug mode, open a shell into the container and run the start-bot-prod-debug script manually. This change was made to allow more control over what profiling scripts and other things are run in the debug environment.
This commit is contained in:
parent
1734ba4ac9
commit
29a1161c05
3 changed files with 6 additions and 28 deletions
|
@ -58,7 +58,8 @@ services:
|
|||
- ./:/zeppelin
|
||||
environment:
|
||||
DEBUG: ${DEBUG-}
|
||||
command: ["/bin/bash", "/zeppelin/docker/production/start-api.sh"]
|
||||
working_dir: /zeppelin/backend
|
||||
command: ["npm", "run", "start-api-prod"]
|
||||
|
||||
bot:
|
||||
build:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue