3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 22:01:50 +00:00
Commit graph

24 commits

Author SHA1 Message Date
Dragory
e146ed6416
refactor: remove SSL from standalone setup
Since Zeppelin was only creating a self-signed certificate, this
gave a false sense of security when in reality you'd always want
to have a proxy with a proper certificate in front of this anyway.

Additionally, generating the certificate at build time meant that
the domain couldn't easily be changed/updated without rebuilding.
2024-04-06 18:47:12 +03:00
Dragory
b40ed5ce49
feat: add api prefix option 2024-04-06 11:54:31 +00:00
Dragory
509d96ce83
refactor: new dev/prod containers
- Use a single Dockerfile for all Zeppelin services
- Add a Dockerfile in project root that can be used by
  app hosting services
- Provide a standalone and lightweight prod setup
  - Standalone is the same as the old setup, with mysql+nginx
  - Lightweight only runs bot+backend+dash, no mysql/nginx
- Remove mounted mysql data folders for dev and prod
  - This resolves permission issues caused by the mount
  - The mysql service uses a regular named volume now
- Simplify .env options and clearly separate different prod setups
- Remove update.sh
  - Different setups require different update procedures, so a common
    update.sh no longer works
2024-03-17 18:49:31 +02:00
Ruby Star
979fb68953
fix: remove debug commands from backend/Dockerfile 2023-07-02 16:22:44 +04:00
Dragory
b67b3c35b7
build: refactor production containers
Production containers now copy the Zeppelin source files at
build-time rather than using a shared volume. This means fewer
permission issues and backend/dashboard builds only have to run once
at build-time, not every time the containers are started.

Docs in PRODUCTION.md have been updated accordingly.
2023-07-01 10:33:35 +00:00
Dragory
b60a7fb145
fix: clinic.js 0kb output files
Something in our signal handlers/code that touched signal handlers
conflicted with clinic.js's signal handler code. With this commit,
we don't touch signal handlers at all if DEBUG mode is enabled.
2023-06-26 19:55:16 +00:00
Dragory
29a1161c05
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.
2023-06-26 19:35:19 +00:00
Dragory
a23beadf24
fix(devenv): shut down immediately on ctrl+c 2023-06-25 12:28:18 +03:00
Dragory
c1281d90af
feat(devenv): use latest git 2023-06-25 12:27:54 +03:00
Dragory
658300fcac
feat: update to Node.js 18 2023-04-29 20:47:20 +03:00
Dragory
ae1c0c2278
debug: debug+ 2023-04-04 20:55:01 +03:00
Dragory
acdde9b3d7
debug: add clinic.js for debugging 2023-04-04 20:44:13 +03:00
Dragory
22d0b14ef1
docker: allow configuring UID/GID used inside the containers 2022-08-07 12:23:27 +03:00
Dragory
61f8b1579b
feat: more work on prod docker setup 2022-08-06 22:18:21 +03:00
Dragory
91f54424ed
Early work on prod container 2022-07-16 22:16:34 +03:00
Dragory
17fa857609
Remove docker-compose wrapper script; fixes to devcontainers 2022-06-26 23:15:36 +03:00
Dragory
db84d80e74
Update devenv instructions 2022-06-26 22:32:39 +03:00
Dragory
d8b7d0cba5
Update Docker instructions 2022-06-26 19:33:56 +03:00
Dragory
ce2255b6b7
Simplify dev docker setup 2022-06-26 19:30:46 +03:00
Dragory
b655085115
Add quick instructions for docker dev environment 2022-06-26 15:31:20 +03:00
Dragory
122f535e34
Fix API vhost in nginx container 2022-06-26 15:23:53 +03:00
Dragory
e760654c54
Use mysql_native_password for dev database zeppelin user 2022-06-26 15:01:54 +03:00
Dragory
3773d659cc
Consolidate .env files. More work on dev containers. 2022-06-26 14:34:54 +03:00
Dragory
2a959f354c
Initial work on Docker support 2022-06-01 19:11:44 +03:00