-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy pathdocker-compose.run.yml
More file actions
62 lines (58 loc) · 1.49 KB
/
docker-compose.run.yml
File metadata and controls
62 lines (58 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '3.8'
services:
evolution-go:
image: evolution-go:latest
restart: unless-stopped
ports:
- "4000:4000"
environment:
SERVER_PORT: 4000
CLIENT_NAME: "evolution"
GLOBAL_API_KEY: "429683C4C977415CAAFCCE10F7D57E11"
POSTGRES_AUTH_DB: "postgresql://postgres:postgres@postgres:5432/evogo_auth?sslmode=disable"
POSTGRES_USERS_DB: "postgresql://postgres:postgres@postgres:5432/evogo_users?sslmode=disable"
DATABASE_SAVE_MESSAGES: "false"
WADEBUG: "DEBUG"
LOGTYPE: "console"
CONNECT_ON_STARTUP: "true"
WEBHOOKFILES: "true"
OS_NAME: "Linux"
WEBHOOK_URL: ""
AMQP_URL: ""
MINIO_ENABLED: "false"
EVENT_IGNORE_GROUP: "false"
EVENT_IGNORE_STATUS: "true"
QRCODE_MAX_COUNT: "5"
volumes:
- evolution_data:/app/dbdata
- evolution_logs:/app/logs
networks:
- evolution_network
depends_on:
postgres:
condition: service_healthy
postgres:
image: postgres:15-alpine
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- evolution_network
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
volumes:
evolution_data:
evolution_logs:
postgres_data:
networks:
evolution_network:
driver: bridge