- adjust new blumilk environment #527
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes aimed at updating environment configurations, improving Docker setup, and modifying the Vite configuration. The most important changes include updating environment variables in the
.env.examplefile, modifying thedocker-compose.ymlfile to use new host names, and updating the Vite configuration to enhance server setup.Environment Configuration Updates:
APP_URLand added new host name variables for Docker in the.env.examplefile. ([[1]](https://github.com/blumilksoftware/toby/pull/527/files#diff-a3046da0d15a27e89f2afe639b25748a7ad4d9290af3e7b1b6c1a5533c8f0a8cL5-R5),[[2]](https://github.com/blumilksoftware/toby/pull/527/files#diff-a3046da0d15a27e89f2afe639b25748a7ad4d9290af3e7b1b6c1a5533c8f0a8cL67-R71))Docker Setup Improvements:
docker-compose.ymlto use new host names and added configurations for the Vite dev server and Mailpit service. ([[1]](https://github.com/blumilksoftware/toby/pull/527/files#diff-e45e45baeda1c1e73482975a664062aa56f20c03dd9d64a827aba57775bed0d3L11-R30),[[2]](https://github.com/blumilksoftware/toby/pull/527/files#diff-e45e45baeda1c1e73482975a664062aa56f20c03dd9d64a827aba57775bed0d3L32-R42),[[3]](https://github.com/blumilksoftware/toby/pull/527/files#diff-e45e45baeda1c1e73482975a664062aa56f20c03dd9d64a827aba57775bed0d3L82-R99),[[4]](https://github.com/blumilksoftware/toby/pull/527/files#diff-e45e45baeda1c1e73482975a664062aa56f20c03dd9d64a827aba57775bed0d3L98-R108),[[5]](https://github.com/blumilksoftware/toby/pull/527/files#diff-e45e45baeda1c1e73482975a664062aa56f20c03dd9d64a827aba57775bed0d3L113-R123))Vite Configuration Enhancements:
vite.config.jsto use a fixed port and new origin, and removed the use ofnetworkInterfacesfor determining the host. ([[1]](https://github.com/blumilksoftware/toby/pull/527/files#diff-58e6f63d87181b1c6a8cb6e5f1691df04aa32854456efcd52ca71c8541375d26L4),[[2]](https://github.com/blumilksoftware/toby/pull/527/files#diff-58e6f63d87181b1c6a8cb6e5f1691df04aa32854456efcd52ca71c8541375d26L14-R17))Supervisor Configuration Update:
unitdcommand insupervisord.conftohost-user. ([environment/dev/app/supervisord.confL11-R11](https://github.com/blumilksoftware/toby/pull/527/files#diff-9d54e785b8647cea9638c551dad4b78fdeb24db0bc392d326aaa1c404291b391L11-R11))This PR updates local environment to be compatible with new Blumilk environment:
From now we will be able to develop apps with Vite dev server via HTTPS and HTTP.
For more details check PR linked above.
Additionally:
unituser and has no access to the project files).