-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
65 lines (61 loc) · 1.33 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
version: '3.0'
services:
db:
image: postgres:16
# profiles: [backend-dev, production]
restart: unless-stopped
ports:
- 5432:5432
environment:
POSTGRES_DB: sync-focus-db
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- ./.volume/postgresql:/var/lib/postgresql/data/
rabbitmq:
image: rabbitmq:management
ports:
- 5672:5672
- 15672:15672
volumes:
- ~/.volume/rabbitmq/data/:/var/lib/rabbitmq/
- ~/.volume/rabbitmq/log/:/var/log/rabbitmq
etl:
build: .
context: ./etl
restart: unless-stopped
volumes:
- ./etl/:/usr/etl/
depends_on:
- db
- rabbitmq
# backend:
# build: .
# profiles: [production]
# restart: unless-stopped
# ports:
# - 5001:5001
# volumes:
# - ./backend/:/usr/backend/
# # env_file:
# # - ./backend/production.env
# command: python3 run.py --prod
# depends_on:
# - db
# open http://localhost:16686
jaeger:
image: jaegertracing/all-in-one
# profiles: [backend-dev, production]
restart: unless-stopped
ports:
- 5775:5775/udp
- 6831:6831/udp
- 6832:6832/udp
- 5778:5778
- 16686:16686
- 14268:14268
- 14250:14250
- 9411:9411
networks:
default:
name: sync_focus_network