- This repository cloned
- Docker installed
- Docker Compose installed
The project assumes it is running on a domain instead of localhost, which has some drawbacks. To avoid said drawbacks, we use the hosts file to create our local domain to develop on.
I picked local-whysodank.com as the domain but you can pick anything and change the environment variables in .env file.
- Add the following entries to your hosts file: (for linux this file is commonly located at commonly in
/etc/hosts)
127.0.0.1 local-whysodank.com
127.0.0.1 api.local-whysodank.com
127.0.0.1 admin.local-whysodank.com
127.0.0.1 auth.local-whysodank.com
127.0.0.1 media.local-whysodank.com- Copy
example.envto a new file.envin project root and update the domain values if you are not usinglocal-whysodank.com
docker compose buildRunningupinstead may give you errors about not being able to pull wsd:latest since it is built locally and reuseddocker compose upAfter building it first, the wsd:latest will be reused successfull and everything should work out of the box
- Doesn't have volumes mounted for the actual workdir so you have to rebuild the image every time you change something (you can add the volumes manually and do
git update-index --assume-unchanged <file> docker-compose.yml) - It probably doesn't work in Apple Silicon and maybe not even on Windows.