Fix docker volume mappings for node_modules, improve docker-compose usage #138

Merged
raucao merged 6 commits from bugfix/fix-docker-mapping into master 2023-06-23 15:38:31 +00:00
Owner

This simplifies the docker-compose.yml management, by leaving it uncommented as devs can selectively start any of the services defined by name, eg. docker compose up ldap, while new users can start up everything with docker compose up.

Additionally, I added a mapping to the web volumes list, /akkounts/node_modules will exclude node_modules from being mounted, ensuring it is defined as a docker-only directory within the mounted directory.

Added PRIMARY_DOMAIN: kosmos.org env to both the web and sidekiq docker compose directives.

This simplifies the `docker-compose.yml` management, by leaving it uncommented as devs can selectively start any of the services defined by name, eg. `docker compose up ldap`, while new users can start up everything with `docker compose up`. Additionally, I added a mapping to the web volumes list, `/akkounts/node_modules` will *exclude* `node_modules` from being mounted, ensuring it is defined as a docker-only directory within the mounted directory. Added `PRIMARY_DOMAIN: kosmos.org` env to both the `web` and `sidekiq` docker compose directives.
slvrbckt added the
bug
label 2023-06-23 15:25:57 +00:00
slvrbckt added 3 commits 2023-06-23 15:25:58 +00:00
slvrbckt added 2 commits 2023-06-23 15:30:04 +00:00
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
c7925f132e
formatting
slvrbckt added 1 commit 2023-06-23 15:32:47 +00:00
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
Release Drafter / Update release notes draft (pull_request) Successful in 4s Details
96a4db5bae
improve sentence
raucao added the
kredits-1
label 2023-06-23 15:36:28 +00:00
raucao approved these changes 2023-06-23 15:37:12 +00:00
raucao left a comment
Owner

👍

:+1:
raucao changed title from Fix docker volume mappings for `node_modules`, leave docker-compose.yml uncommented to Fix docker volume mappings for `node_modules`, improve docker-compose.yml usage 2023-06-23 15:38:12 +00:00
raucao changed title from Fix docker volume mappings for `node_modules`, improve docker-compose.yml usage to Fix docker volume mappings for `node_modules`, improve docker-compose usage 2023-06-23 15:38:20 +00:00
raucao merged commit b32e2fcb7b into master 2023-06-23 15:38:31 +00:00
raucao deleted branch bugfix/fix-docker-mapping 2023-06-23 15:38:31 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kosmos/akkounts#138
No description provided.