-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory Unit issue in .env file #325
Comments
+1 |
Hi @JonasCir:
Any idea about this error? FYI: @fhauptmann |
@zohaibhassan122 I did not encounter this one yet :D For my part, I always completely comment every resource constraint in the base file as none of them work (i.e. are parsed) for me. Looking at the error I would guess that the value you have there is below minimum, so I would try to double it as long as it works? :D |
Problem Description:
After Cloning the SORMAS-Docker repository into your local machine, when you try “docker-compose up”. You receive some errors like mentioned below:
error while interpolating services.base-apache2.mem_limit: failed to cast to expected type: strconv.ParseInt: parsing "1000M": invalid syntax
Current Setup:
OS: Windows 10
Docker Client: Docker Desktop 4.3.2 (72729)
Windows Subsystem for Linux Version: WSL2
Quick Fix:
Change All the memory Units in the .env file without “M”. Replace “M” with “000”.
For Example:
APPSERVER_MEM=4300M should be replaced like APPSERVER_MEM=4300000
The text was updated successfully, but these errors were encountered: