mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 09:26:00 +03:00
[GH-ISSUE #3267] error with docker-compose #1823
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1823
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eortigoza5 on GitHub (Jun 25, 2024).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3267
Hello, I have read this document
https://modoboa.readthedocs.io/en/latest/contributing/getting_started.html
and according to the document I only have to run
$ docker-compose up
and it turns out that it gives me errors
front_1 | yarn run v1.22.19

front_1 | $ vite --host
front_1 | /bin/sh: vite: not found
front_1 | error Command failed with exit code 127.
I try with version master, 2.2.4, 2.2.3, and 2.2.2
Is there a configuration file that must be filled out first before running the docker-compose up command?
@eortigoza5 commented on GitHub (Jun 25, 2024):
I have solved the problem by adding this command on line 55 of docker-compose.yml

npm install &&
then I had to add sites (ip address) as ALLOWED_HOSTS in the container modoboa_api , in the file /code/test_project/test_project/settings.py

and it work!