-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
75 lines (74 loc) · 1.79 KB
/
docker-compose.yml
File metadata and controls
75 lines (74 loc) · 1.79 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
63
64
65
66
67
68
69
70
71
72
73
74
75
services:
kong:
image: kong:3.9
container_name: kong
environment:
KONG_DATABASE: "off"
KONG_DECLARATIVE_CONFIG: /kong/kong.yml
KONG_PROXY_ACCESS_LOG: /dev/stdout
KONG_ADMIN_ACCESS_LOG: /dev/stdout
KONG_PROXY_ERROR_LOG: /dev/stderr
KONG_ADMIN_ERROR_LOG: /dev/stderr
KONG_ADMIN_LISTEN: 0.0.0.0:8001
KONG_LOG_LEVEL: debug
JWT_ACCESS_SECRET_FOR_KONG: "fasdfnvaoifghaewn23nsf"
KONG_PLUGINS: bundled,request-transformer
labels:
- "collect_logs=true"
ports:
- "8000:8000" # Proxy port for client requests
- "8001:8001" # Admin API port
volumes:
- ./api-gateway/kong/kong.yml:/kong/kong.yml:ro
networks:
- pixelmeet-network
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
labels:
- "collect_logs=true"
ports:
- "5672:5672" # AMQP protocol
- "15672:15672" # Management UI
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
volumes:
- rabbitmq_data:/var/lib/rabbitmq
redis:
image: redis:7-alpine
hostname: redis
ports:
- "6379:6379"
volumes:
- redis_data:/data
command: redis-server --appendonly yes
labels:
- "collect_logs=true"
# user-service:
# build:
# context: .
# dockerfile: apps/user-service/Dockerfile
# ports:
# - '4001:4001'
# networks:
# - pixelmeet-network
postgres:
image: postgres:17
environment:
POSTGRES_USER: fizan
POSTGRES_PASSWORD: PostPass098
POSTGRES_DB: user_service
labels:
- "collect_logs=true"
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
networks:
pixelmeet-network:
driver: bridge
volumes:
rabbitmq_data:
redis_data:
pgdata: