Curso-lenguaje-python/catch-all/05_redis_flask_docker/docker-compose.yaml

20 lines
285 B
YAML
Raw Normal View History

2024-06-16 18:00:16 +02:00
version: '3.8'
services:
api:
container_name: app-python-flask-with-redis
build: .
env_file:
- .env
ports:
- '5000:5000'
depends_on:
- redis
redis:
image: redis:7.0-alpine
container_name: redis-python
ports:
- '6379:6379'