Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xettrisomeman/dockerandredis
Simple python app with docker and redis
https://github.com/xettrisomeman/dockerandredis
Last synced: about 12 hours ago
JSON representation
Simple python app with docker and redis
- Host: GitHub
- URL: https://github.com/xettrisomeman/dockerandredis
- Owner: xettrisomeman
- Created: 2019-12-06T06:18:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-06T06:19:09.000Z (about 5 years ago)
- Last Synced: 2024-11-09T02:20:52.153Z (about 2 months ago)
- Language: Python
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Simple python app with docker and redis
## This app does set a redis value
## Use following commands to build the app
```docker
docker build -t .
```## After building the it will execute the code inside of Dockerfile
## Afer your app is built , run following commands
```docker
docker run -d --network=host redis
```## You create a network host to host the redis on docker
## After the above code do the following to run the redis
```docker
docker run --network=host
```