-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
101 lines (94 loc) · 2.31 KB
/
docker-compose.yaml
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
version: '3.8'
services:
tesp-api:
build:
context: ./
dockerfile: docker/tesp_api/Dockerfile
target: development
image: tesp-api
container_name: tesp-api
ports:
- "8080:8080"
depends_on:
- tesp-db
volumes:
- ./:/app
extra_hosts:
- "host.docker.internal:host-gateway"
tesp-db:
image: mongo:latest
container_name: tesp-db
volumes:
- ./docker/mongodb/data:/data/db
environment:
- MONGO_INITDB_DATABASE=tesp
ports:
- "8081:27017"
deploy:
replicas: 1
placement:
max_replicas_per_node: 1
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
volumes:
- ./docker/rabbitmq/rabbitmq.config:/etc/rabbitmq/rabbitmq.config:ro
- ./docker/rabbitmq/definitions.json:/etc/rabbitmq/definitions.json:ro
- ./docker/rabbitmq/data/:/var/lib/rabbitmq/
- ./docker/rabbitmq/logs/:/var/log/rabbitmq/
profiles:
- donotstart
pulsar_amqp:
build:
context: ./docker/pulsar_amqp
dockerfile: Dockerfile
target: development
image: pulsar_amqp
container_name: pulsar-amqp
depends_on:
- rabbitmq
volumes:
- ./docker/pulsar_amqp/app.yml:/opt/pysetup/app.yml
- ./docker/pulsar_amqp/data/:/opt/pysetup/files/staging/
profiles:
- donotstart
pulsar_rest:
build:
context: ./docker/pulsar_rest
dockerfile: Dockerfile
target: development
image: pulsar_rest
container_name: pulsar-rest
privileged: true
expose:
- "8913"
volumes:
- ./docker/pulsar_rest/app.yml:/opt/pysetup/app.yml
- ./docker/pulsar_rest/data/:/opt/pysetup/files/staging/
minio:
container_name: minio
image: minio/minio
expose:
- '9000'
ports:
- '40949:40949'
environment:
MINIO_ROOT_USER: 'admin'
MINIO_ROOT_PASSWORD: '!Password123'
volumes:
- ./docker/minio/data/:/data
command:
server /data --console-address ":40949"
ftpserver:
container_name: tesp-ftp-server
image: fclairamb/ftpserver
ports:
- '2121-2130:2121-2130'
depends_on:
- minio
volumes:
- ./docker/ftpserver/data/:/tmp
- ./docker/ftpserver/ftpserver.json:/app/ftpserver.json