REDIS_URL - redis db url. Example: redis://127.0.0.1/3
Default: redis://localhost/1
Just build with docker build -t some-shorter .
Create container and run: docker run --name shorter -it -p 80:8888 -e REDIS_URL=redis://192.168.1.2/1 some-shorter
REDIS_URL - redis db url. Example: redis://127.0.0.1/3
Default: redis://localhost/1
Just build with docker build -t some-shorter .
Create container and run: docker run --name shorter -it -p 80:8888 -e REDIS_URL=redis://192.168.1.2/1 some-shorter