- Install Docker Desktop
- Change the
REDIRECT_IPV4
address to your computer's IP - Change the
ROOT_DOMAIN
andROOT_DOMAIN_PATH
to where you want to redirect to (Change redirect type if necessary) - With Docker running run
docker compose up -d
fromcmd
in the directory with this file
- This will install and start the Docker images
- On your PS4/PS5 use your computer's IP for the primary DNS server. You can skip secondary or use the same IP again if you wish.
- Profit
Your Docker images will automatically be updated to match what is published to Docker Hub every 30 seconds thanks to Watchtower.
These will download automatically with the above composer file, but here are the links are here for reference:
DNS: GitHub Repo - Docker Hub
HTTP: GitHub Repo - Docker Hub
When I use docker-compose to start the services, NGINX refuse to start :
ps4dns-http-1 | [-] Starting NGINX...
ps4dns-http-1 | nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
ps4dns-http-1 exited with code 0
I don't know how to overwrite NGINX conf to increase server_names_hash_bucket_size. In fact I do but I would like to make it persistent.
Would it be possible to add an env variable in the docker-compose file or to increase this value by default?