-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.integration.yml
151 lines (151 loc) · 4.38 KB
/
docker-compose.integration.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
---
version: '3.7'
services:
ingest_bucket_reader: &default
image: aptrust/ingest_bucket_reader:${DOCKER_TAG_NAME:-latest}
restart: always
volumes:
- type: bind
source: "${DOCKER_DATA_PATH:-./docker}"
target: /app/data
- type: bind
source: "${DOCKER_DATA_PATH:-./docker}"
target: /app/logs
- type: bind
source: ".env.docker"
target: /app/.env
env_file:
- .env.docker
networks:
- default
- gateway
ingest_cleanup:
image: aptrust/ingest_cleanup:${DOCKER_TAG_NAME:-latest}
restart: always
<<: *default
ingest_format_identifier:
image: aptrust/ingest_format_identifier:${DOCKER_TAG_NAME:-latest}
<<: *default
ingest_pre_fetch:
image: aptrust/ingest_pre_fetch:${DOCKER_TAG_NAME:-latest}
<<: *default
ingest_preservation_uploader:
image: aptrust/ingest_preservation_uploader:${DOCKER_TAG_NAME:-latest}
<<: *default
ingest_preservation_verifier:
image: aptrust/ingest_preservation_verifier:${DOCKER_TAG_NAME:-latest}
<<: *default
ingest_recorder:
image: aptrust/ingest_recorder:${DOCKER_TAG_NAME:-latest}
<<: *default
ingest_staging_uploader:
image: aptrust/ingest_staging_uploader:${DOCKER_TAG_NAME:-latest}
<<: *default
ingest_validator:
image: aptrust/ingest_validator:${DOCKER_TAG_NAME:-latest}
<<: *default
reingest_manager:
image: aptrust/ingest_validator:${DOCKER_TAG_NAME:-latest}
<<: *default
apt_queue:
image: aptrust/apt_queue:${DOCKER_TAG_NAME:-latest}
<<: *default
apt_queue_fixity:
image: aptrust/apt_queue_fixity:${DOCKER_TAG_NAME:-latest}
<<: *default
apt_delete:
image: aptrust/apt_delete:${DOCKER_TAG_NAME:-latest}
<<: *default
apt_fixity:
image: aptrust/apt_fixity:${DOCKER_TAG_NAME:-latest}
<<: *default
bag_restorer:
image: aptrust/bag_restorer:${DOCKER_TAG_NAME:-latest}
<<: *default
file_restorer:
image: aptrust/file_restorer:${DOCKER_TAG_NAME:-latest}
<<: *default
glacier_restorer:
image: aptrust/glacier_restorer:${DOCKER_TAG_NAME:-latest}
<<: *default
nsqlookupd:
image: nsqio/nsq:v1.2.0
restart: always
hostname: nsqlookupd
command: /nsqlookupd
volumes:
- type: bind
source: "${DOCKER_DATA_PATH:-./docker}/nsq"
target: /data
ports:
- "4160:4160"
- "4161:4161"
env_file:
- .env.docker
nsqd:
image: nsqio/nsq:v1.2.0
hostname: nsqd
restart: always
command: /nsqd --lookupd-tcp-address=${NSQ_LOOKUPD_TCP_ADDRESS} --data-path=/data --broadcast-address=${NSQ_BROADCAST_ADDRESS} --msg-timeout=${NSQ_MSG_TIMEOUT} --max-msg-timeout=${NSQ_MAX_MSG_TIMEOUT} --max-msg-size=${NSQ_MAX_MSG_SIZE} -mem-queue-size=${NSQ_MEM_QUEUE_SIZE} -max-req-timeout=${NSQ_MAX_REQ_TIMEOUT} -max-heartbeat-interval=${NSQ_MAX_HEARTBEAT_INTERVAL}
volumes:
- type: bind
source: "${DOCKER_DATA_PATH:-./docker}/nsq"
target: /data
env_file:
- .env.docker
networks:
- default
- gateway
depends_on:
- nsqlookupd
ports:
- "4150:4150"
- "4151:4151"
# TODO: needs labels for basicauth and routable address
nsqadmin:
image: nsqio/nsq:v1.2.0
restart: always
command: /nsqadmin --lookupd-http-address=${NSQ_LOOKUPD_HTTP_ADDRESS}
depends_on:
- nsqlookupd
env_file:
- .env.docker
networks:
- default
- gateway
ports:
- "4171:4171"
redis:
image: redis:6.0-alpine
restart: always
command: redis-server --appendonly yes
volumes:
- type: bind
source: "${DOCKER_DATA_PATH:-./docker}/redis"
target: /data
env_file:
- .env.docker
networks:
- default
ports:
- "6479:6379"
minio:
image: minio/minio:latest
restart: always
command: server /data
volumes:
- type: bind
source: "${DOCKER_DATA_PATH:-./docker}/minio"
target: /data
env_file:
- .env.docker
networks:
- default
- gateway
ports:
- "9000:9000"
networks:
gateway:
external:
name: gateway
default: