-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
85 lines (82 loc) · 1.79 KB
/
docker-compose.yml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: '3'
services:
minio:
image: minio/minio
ports:
- "9000:9000"
volumes:
- $HOME/data:/data
environment:
MINIO_ACCESS_KEY: digitalse
MINIO_SECRET_KEY: digitalse
command: server /data
networks:
- digitalse-network
postgres:
image: postgres:15.5-alpine3.19
container_name: digitalse-postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: digitalsedb
ports:
- "5434:5432"
volumes:
- $HOME/.postgres/digitalsedb/data/postgresql:/var/lib/postgresql/data
networks:
- digitalse-network
digitalseapi:
build:
context: ./digitalseapi
dockerfile: Dockerfile
image: digitalseapi
ports:
- "8000:8000"
volumes:
- $HOME/data:/home/app/images
env_file:
- ./digitalseapi/.env
depends_on:
- minio
- postgres
- rabbitmq
networks:
- digitalse-network
rabbitmq:
image: rabbitmq:3.12.13-management
ports:
- "5672:5672" # Porta para conexões AMQP
- "15672:15672" # Porta para o painel de controle do RabbitMQ (opcional)
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
volumes:
- rabbitmq_data:/var/lib/rabbitmq
networks:
- digitalse-network
ocrservice:
build:
context: ./ocrservice
dockerfile: Dockerfile
environment:
- RABBITMQ_URL=amqp://guest:guest@rabbitmq:5672/
depends_on:
- rabbitmq
networks:
- digitalse-network
mongo:
image: mongo
ports:
- "27017:27017"
volumes:
- mongo_data:/data/db
networks:
- digitalse-network
networks:
digitalse-network:
volumes:
data_postgres:
minio_data:
local-images:
rabbitmq_data:
mongo_data: