diff --git a/docker-compose.yml b/docker-compose.yml index 8ee4af15..7334ad8b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,11 @@ version: '3.8' services: redis-stack: image: redis/redis-stack:latest + # https://stackoverflow.com/questions/45109398/how-can-i-make-docker-compose-bind-the-containers-only-on-defined-network-instea + # This techinque makes it so http://R.MattPayne.org:8001 fails on the Internet + # But after `ssh R.MattPayne.org -L 8001:127.0.0.1:8001` + # http://127.0.0.1:8001/ works great :-) ports: - - 6379:6379 - - 8001:8001 + - "127.0.0.1:6379:6379" + - "127.0.0.1:8001:8001" +