Skip to content
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

Error Windows 10 with WSL2 #162

Closed
esjdev opened this issue Apr 12, 2022 · 2 comments
Closed

Error Windows 10 with WSL2 #162

esjdev opened this issue Apr 12, 2022 · 2 comments

Comments

@esjdev
Copy link

esjdev commented Apr 12, 2022

Start all containers except these development-web-1, development-mongo-express-1 and development-ssl-1

Error in development-web-1

2022/04/12 03:26:39 [emerg] 1#1: host not found in upstream "fpm:9000" in /etc/nginx/backends.conf:2
nginx: [emerg] host not found in upstream "fpm:9000" in /etc/nginx/backends.conf:2

Error in development-mongo-express-1

(node:8) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
Could not connect to database using connectionString: mongodb://root:example@mongo:27017/"
(node:8) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [mongo:27017] on first connect [Error: getaddrinfo EAI_AGAIN mongo
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26)

Error in development-ssl-1

10-listen-on-ipv6-by-default.sh: info: IPv6 listen already enabled
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: IPv6 listen already enabled
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: IPv6 listen already enabled
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2022/04/12 03:04:10 [emerg] 1#1: host not found in upstream "backend" in /etc/nginx/nginx.conf:47
nginx: [emerg] host not found in upstream "backend" in /etc/nginx/nginx.conf:47
2022/04/12 03:22:01 [emerg] 1#1: host not found in upstream "backend" in /etc/nginx/nginx.conf:47
nginx: [emerg] host not found in upstream "backend" in /etc/nginx/nginx.conf:47
2022/04/12 03:23:04 [emerg] 1#1: host not found in upstream "backend" in /etc/nginx/nginx.conf:47
nginx: [emerg] host not found in upstream "backend" in /etc/nginx/nginx.conf:47
2022/04/12 03:32:23 [emerg] 1#1: host not found in upstream "backend" in /etc/nginx/nginx.conf:47
nginx: [emerg] host not found in upstream "backend" in /etc/nginx/nginx.conf:47

Did anyone manage to help?

@JeroenBoersma
Copy link
Owner

WSL is always a bit harder to setup, there is another issue #163 on WSL created today, so maybe we could see if the solution switching to the branch https://github.com/JeroenBoersma/docker-compose-development/tree/development-docker-compose-2 helps you too

@esjdev
Copy link
Author

esjdev commented Apr 14, 2022

WSL is always a bit harder to setup, there is another issue #163 on WSL created today, so maybe we could see if the solution switching to the branch https://github.com/JeroenBoersma/docker-compose-development/tree/development-docker-compose-2 helps you too

Thank you very much, it worked perfectly.

@esjdev esjdev closed this as completed Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants