Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xettrisomeman/flaskdockerredis
Flask app using redis and docker
https://github.com/xettrisomeman/flaskdockerredis
docker docker-compose flask python redis
Last synced: about 11 hours ago
JSON representation
Flask app using redis and docker
- Host: GitHub
- URL: https://github.com/xettrisomeman/flaskdockerredis
- Owner: xettrisomeman
- Created: 2019-12-10T03:11:27.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-10T03:11:51.000Z (about 5 years ago)
- Last Synced: 2024-11-09T02:20:47.097Z (about 2 months ago)
- Topics: docker, docker-compose, flask, python, redis
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# SImple flask app using redis and docker
## Docker-compose.yml
```docker
version: '3.7'services:
web:
build: .
ports:
- 5000:5000redis:
image: redis
```## version- it states which version of dockercompose you want to use
## services: it is second thing we write after writing version in our docker-compose file
## Then we write our app name , here ive given it (Web)
## Build-> it means which files we are going to use to build the app. Here i am using the files from current directory
## ports-> the ports we are using to run our app
## we give redis name to our second app which uses image redis
## image-> it means download images from docker hub for later use. we are downloading redis image because our app uses redis images