Commit graph

10 commits

Author SHA1 Message Date
Tiago R
00fb71f26d
compose: Don't expose MySQL through all interfaces (#435)
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 18:36:37 +00:00
Ruby Star
83ac507ebd
fix: make the migrate service run after the db 2023-07-02 16:40:18 +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
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
1734ba4ac9
fix: 'not found' errors (cross-env, clinic) in prod env 2023-06-26 19:26:44 +00:00
Dragory
acdde9b3d7
debug: add clinic.js for debugging 2023-04-04 20:44:13 +03:00
Dragory
ec8523ce75
fix(docker): add mysql container health check
This makes the prepare_backend container (which runs migrations) wait
until the mysql server is actually running, not just the container.

Thanks to Skyz on Discord for the implementation.
2022-08-13 23:24:23 +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