clean: correct docker network declaration

This commit is contained in:
AdsonCicilioti 2023-08-26 02:53:02 -03:00
parent c9721d7bc9
commit adb43ec5b3
2 changed files with 8 additions and 7 deletions

View File

@ -35,7 +35,8 @@ volumes:
evolution_mongodb_data: evolution_mongodb_data:
evolution_mongodb_configdb: evolution_mongodb_configdb:
networks: networks:
evolution-net: evolution-net:
external: true name: evolution-net
driver: bridge

View File

@ -5,17 +5,17 @@ services:
image: redis:latest image: redis:latest
container_name: redis container_name: redis
command: > command: >
redis-server redis-server --port 6379 --appendonly yes
--port 6379
--appendonly yes
volumes: volumes:
- evolution_redis:/data - evolution_redis:/data
ports: ports:
- 6379:6379 - 6379:6379
volumes: volumes:
evolution_redis: evolution_redis:
networks: networks:
evolution-net: evolution-net:
external: true name: evolution-net
driver: bridge