mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-24 17:38:40 -06:00
Merge pull request #78 from AdsonCicilioti/docker-net-declaration
clean: docker network declaration and build of the `evolution/api` image
This commit is contained in:
commit
7ade78bedf
@ -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
|
||||||
|
@ -5,9 +5,7 @@ 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:
|
||||||
@ -16,6 +14,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
evolution_redis:
|
evolution_redis:
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
evolution-net:
|
evolution-net:
|
||||||
external: true
|
name: evolution-net
|
||||||
|
driver: bridge
|
||||||
|
@ -4,6 +4,7 @@ services:
|
|||||||
api:
|
api:
|
||||||
container_name: evolution_api
|
container_name: evolution_api
|
||||||
image: evolution/api:local
|
image: evolution/api:local
|
||||||
|
build: .
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
@ -24,5 +25,5 @@ volumes:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
evolution-net:
|
evolution-net:
|
||||||
external: true
|
name: evolution-net
|
||||||
|
driver: bridge
|
||||||
|
@ -4,6 +4,7 @@ services:
|
|||||||
api:
|
api:
|
||||||
container_name: evolution_api
|
container_name: evolution_api
|
||||||
image: evolution/api:local
|
image: evolution/api:local
|
||||||
|
build: .
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
@ -75,5 +76,5 @@ volumes:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
evolution-net:
|
evolution-net:
|
||||||
external: true
|
name: evolution-net
|
||||||
|
driver: bridge
|
||||||
|
@ -24,5 +24,5 @@ volumes:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
evolution-net:
|
evolution-net:
|
||||||
external: true
|
name: evolution-net
|
||||||
|
driver: bridge
|
||||||
|
Loading…
Reference in New Issue
Block a user