forked from webrecorder/browsertrix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (49 loc) · 1.3 KB
/
docker-compose.yml
File metadata and controls
67 lines (49 loc) · 1.3 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
version: '3.8'
services:
backend:
build: ./backend
image: ${REGISTRY}webrecorder/browsertrix-backend:${BACKEND_TAG:-latest}
env_file:
- ./configs/config.env
depends_on:
- minio
- mongo
environment:
- CRAWLER_FQDN_SUFFIX=
- JOB_IMAGE=${REGISTRY}webrecorder/browsertrix-backend:${BACKEND_TAG:-latest}
frontend:
build: ./frontend
image: ${REGISTRY}webrecorder/browsertrix-frontend:${FRONTEND_TAG:-latest}
ports:
- 9871:80
depends_on:
- backend
- minio
environment:
- BACKEND_HOST=backend
- CRAWLER_FQDN_SUFFIX=
- CRAWLER_SVC_SUFFIX=_crawler
mongo:
image: mongo
volumes:
- btrix-mongo-data:/data/db
env_file:
- ./configs/config.env
minio:
image: minio/minio
#command: ["server", "/data", "--console-address", ":9001"]
entrypoint: "/bin/sh"
# auto-create bucket via existing dir (only for single-node mode)
command: ["-c", "mkdir -p /data/$$MINIO_BUCKET; /usr/bin/docker-entrypoint.sh server /data --console-address :9001"]
volumes:
- ${MINIO_DATA_VOLUME:-btrix-minio-data}:/data
env_file:
- ./configs/config.env
restart: always
volumes:
btrix-redis-data:
btrix-mongo-data:
btrix-minio-data:
networks:
default:
name: btrix-net