frappe / frappe_docker

Docker images for production and development setups of the Frappe framework and ERPNext
MIT License
1.51k stars 1.4k forks source link

Update docker-compose.yml #1415

Closed Chev91 closed 5 months ago

Chev91 commented 5 months ago

A challenge I encountered while setting up the Development instance. The command 'bench init --skip-redis-config-generation frappe-bench' kept generating errors, which I discovered were due to an architecture mismatch between Docker and macOS. By updating the platform to linux/amd64 in my code, I was able to resolve this issue.

dnk8n commented 5 months ago

This had me scratching my head for a while!

Definitely useful to be explicit here, as Frappe is not working as expected on alternative architectures.

FYI, I see the root directory compose.yaml already has a similar change applied, would be especially great for newcomers to not hit this same issue.