Logo
Explore Help
Register Sign In
docker/awesome-compose
1
0
Fork 0
You've already forked awesome-compose
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
master
awesome-compose/flask-redis/compose.yaml

19 lines
350 B
YAML
Raw Permalink Normal View History

Nginx/Node/Redis and Flask/Redis Compose example (#222) * Added Node, Nginx and Redis Project * Added Flask/Redis
2022-03-17 22:03:36 +05:30
services:
flask-redis: dev envs support & misc improvements (#265) (Most of this is almost identical to #263.) * Docker Desktop Development Environments config * Use cache volumes for pip * Downgrade from Python 3.11 _alpha_ -> Python 3.10 * Use port `8000` to avoid conflicts with Airplay on macOS for default Flask port `5000` * Use `SIGINT` to gracefully stop Flask * Formatting fixes in `compose.yaml` Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-08 10:48:08 -04:00
redis:
image: redislabs/redismod
ports:
- '6379:6379'
web:
build:
context: .
target: builder
# flask requires SIGINT to stop gracefully
# (default stop signal from Compose is SIGTERM)
stop_signal: SIGINT
ports:
- '8000:8000'
volumes:
- .:/code
depends_on:
- redis
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 168ms Template: 10ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API