jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
1.01k stars 550 forks source link

Issue with docker-compose file #1075

Open poirazis opened 1 year ago

poirazis commented 1 year ago

When i try to spin up a container using the given https://github.com/jookies/jasmin/blob/master/docker-compose.grafana.yml file, i get an error from docker

ERROR: Cannot locate specified Dockerfile: ./docker/Dockerfile.dev

Can anyone help me to set this up ? Is there another docker-compose file ?

Thanks in advance!

lauer commented 1 year ago

So this Docker composer file expect the whole repo to be checked out.

It can't just be ran using this file alone. Then you need to modified it to fetch an already build image, and also setting up some configurations.

poirazis commented 1 year ago

Thank you @lauer ! I there a standard / default docker config file i could use to do this ?

farirat commented 1 year ago

Hello @poirazis That dockerfile is intended to be used with jasmin's repo in place, but you can replace the build: block with: image: jookies/jasmin.

poirazis commented 1 year ago

Thank you @farirat !

farirat commented 1 year ago

@poirazis thank you for reporting the issue, you are right, the install documentation must include a docker-compose requiring no dev environment, i've fixed this in the docs and will release in 0.10.13