#Can't run medusa cli in docker container
48 messages ยท Page 1 of 1 (latest)
I am interested in this thread as I face memory issues with my medusa installation locally ๐
are u using redis?
I somewhere read that memory issues can occur when you are running on the fake redis
Basically I use medusa with the fake one, but I start it sometimes
You could try to use redis, i don't know how they implemented the fake one, it's probably not as efficient as the real one.
Absolutely
version: "3.8"
services:
redis:
image: redis:7.0.11-alpine
container_name: redis
expose:
- "6379:6379"
command: redis-server --requirepass redis-password
volumes:
- redis:/data
volumes:
redis:
driver: local
here a compose you could use
im using this right now to test out the solution
lol there is an error in expose
i need to refactor it to ports
Let's try to keep your thread up instead of talking about memory, but do you think it's linked ?
I actually don't know im trying to debug it right now but debug logs are sparse ๐
it shouldnt be the case the port should be exposed
and i select it over the internal docker network by the service name
especially because logs show it is connected
Do you know the existance of this repo ?
https://github.com/medusajs/docker-medusa/blob/main/docker-compose.yml
yeah
i set node_env to production
because i have to test the deployment locally for prod
i want to deploy it on digital ocean
and it allready ran, but since adding the fileservices the medusa cli is not working anymore so i cant create an admin account to test the solution
i also allready set the all the necessary flags for prod im just wondering what i did wrong
I am not an expert of Docker but have you noticed that the actual version of Medusa is v1.8 and that the admin has become a plugin
yeah you have the admin dashboard as a plugin now
i will probably have to fork the admin ui
because i want to give my customers the possibilty to brand it
and multi language is still an issue
just a screenshot to show my problem
lol there is asmongold in the background XD
This is the version of medusa-cli, right ? But actually it's v1.3.9
omg
my eyes are bleeding
you are a real bro my dude
i used medusa-cli not @pulsar islejs/medusa-cli
fml
ima try it out
maybe my brain needs breaks when im doing 60-80 hours work weeks
it works!
Niceee ๐
Thank you, I try to understand and point out to the right resource/doc
medusajs has a sort of naming convention that uses medusa-something like for example medusa-plugin-something
After 80 hours of work I understand that you can be confused
thanks a lot good sir ๐
You've made it works bro !!! ๐
It can be cool if you have time (I know it's too much right now, but later) to take a look at https://github.com/medusajs/docker-medusa
ah sorry im on vacation now