services:
redis:
image: redis:latest
container_name: redis
ports:
- '6379:6379'
networks:
- network-example
network-example:
external: true