Message of the day:
A virtual pony is still a pony
All things virtual
thanks, will have a look
Basically mounts NFS from your host directly to the container (Doesn't need to go through the VM)
I recommend NFS for Mac and Docker. I followed this guide. https://firstname.lastname@example.org/how-to-set-up-docker-for-mac-with-native-nfs-145151458adc
we’re overdue to look into removing docker-sync as it’s good, but not as good as we need it on MacOS… otherwise the compose file looks very similar to ours
thanks @brett.tasker, will have a look
@MichalKleiner I noticed that you are using PHP FPM for your Docker environment. Not sure if you have seen my configuration before but thought I would share with you my default project setup. https://github.com/brettt89/docker-env
Supports: SSL, SSPAK Uses NFS mounts (You will need to ensure you have the correct NFS settings on your host).
Is a little bit of a "Black Box" as I need to expose my Dockerfiles for Apache / PHP-fpm, but otherwise its one of my fastest environments to date.
It’s because Docker is a Linux tool and so any other O/S needs to first emulate Linux in some form
Yeah i wish it was that way on Mac too 😞
holy crap docker on linux is so much faster than windows
Seemed to be mysql issues.
Got it working with this in the end.
- version: '3.3'
- image: brettt89/silverstripe-web:7.1-platform
- working_dir: /var/www
- - 8080:80
- - .:/var/www/html
- image: mysql:5.7
- restart: always
- MYSQL_ROOT_PASSWORD: dev_passwd