Skip to content

Commit 0470dde

Browse files
author
Jubilio
committed
feat: add docker-compose configuration for evolution-api, redis, and postgres services
1 parent cd800f2 commit 0470dde

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

docker-compose.mwanga.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
services:
2+
api:
3+
container_name: evolution_api
4+
image: evoapicloud/evolution-api:latest
5+
restart: always
6+
depends_on:
7+
- redis
8+
- evolution_postgres
9+
ports:
10+
- "8080:8080"
11+
env_file:
12+
- .env
13+
networks:
14+
- evolution-net
15+
16+
redis:
17+
container_name: evolution_redis
18+
image: redis:latest
19+
restart: always
20+
networks:
21+
- evolution-net
22+
23+
evolution_postgres:
24+
container_name: evolution_postgres
25+
image: postgres:15
26+
restart: always
27+
env_file:
28+
- .env
29+
environment:
30+
- POSTGRES_DB=evolution_db
31+
- POSTGRES_USER=postgres
32+
- POSTGRES_PASSWORD=postgres_pass
33+
networks:
34+
- evolution-net
35+
36+
networks:
37+
evolution-net:
38+
driver: bridge

0 commit comments

Comments
 (0)