saasitive / django-react-boilerplate

DIY Django + React Boilerplate for starting your SaaS
https://saasitive.com
MIT License
596 stars 89 forks source link

Project not running with Docker #5

Open austinroose opened 3 years ago

austinroose commented 3 years ago

Hello

Maybe I am skipping something but when trying to run docker-compose -f docker-compose-dev.yml up, I get error in my terminal

django_redis_test_backend_1 exited with code 1
backend_1  | standard_init_linux.go:219: exec user process caused: no such file or directory

It also shows something about nginx config files but I am not sure about that.

| /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx_1    | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
backend_1  | standard_init_linux.go:219: exec user process caused: no such file or directory
nginx_1    | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx_1    | 10-listen-on-ipv6-by-default.sh: Getting the checksum of /etc/nginx/conf.d/default.conf
nginx_1    | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
nginx_1    | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx_1    | /docker-entrypoint.sh: Configuration complete; ready for start up

I also cloned repo and tried again, but the error persists. Could anyone help me figure out what could cause that or is it a general issue?

Thanks for tutorial anyway!

pplonski commented 3 years ago

hi @austinroose, as far as I remember there were no redis at all in docker ... so probably you mixed different docker images? Have you tried to run this on a fresh Linux instance? It should work smoothly as I deployed this on AWS EC2 (ubuntu 18.04) without any problems. The running boilerplate: https://boilerplate.saasitive.com/

Please let me know if you fixed it.