A URL shortening Flask micro website similar to bit.ly
docker build -t urlshortener .
docker run -ti -p 5000:5000 -v var:/app/var urlshortener
virtualenv -p python3 env
. env/bin/activate
pip install -r requirements.txt
python main.py
python main.py --help
tox
If the environment variable USE_POSTGRESQL is setted you will be able to save all in postresql this docker has the ability of provide some standard configurations following the base Postgresql image on docker documentation, nothing special is implemented until now.
Content type
Image
Digest
Size
255.8 MB
Last updated
over 10 years ago
docker pull vauxoo/urlshortener