-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
100 lines (92 loc) · 2.44 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
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
version: '3.7'
services:
postgres:
image: registry.diginfra.net/tsd/lenticular-lens-postgresql:latest
shm_size: 1g
volumes:
- ./pgdata:/pgdata
- ./setup.sql:/docker-entrypoint-initdb.d/setup.sql
environment:
- PGDATA=/pgdata
- POSTGRES_PASSWORD=postgres
timbuctoo_worker:
build:
context: .
dockerfile: Dockerfile
target: worker
image: registry.diginfra.net/tsd/lenticular-lens-worker:latest
depends_on:
- postgres
environment:
- DATABASE_HOST=postgres
- DATABASE_DB=postgres
- DATABASE_USER=postgres
- DATABASE_PASSWORD=postgres
- WORKER_TYPE=timbuctoo
linkset_worker:
build:
context: .
dockerfile: Dockerfile
target: worker
image: registry.diginfra.net/tsd/lenticular-lens-worker:latest
depends_on:
- postgres
environment:
- DATABASE_HOST=postgres
- DATABASE_DB=postgres
- DATABASE_USER=postgres
- DATABASE_PASSWORD=postgres
- WORKER_TYPE=linkset
lens_worker:
build:
context: .
dockerfile: Dockerfile
target: worker
image: registry.diginfra.net/tsd/lenticular-lens-worker:latest
depends_on:
- postgres
environment:
- DATABASE_HOST=postgres
- DATABASE_DB=postgres
- DATABASE_USER=postgres
- DATABASE_PASSWORD=postgres
- WORKER_TYPE=lens
clustering_worker:
build:
context: .
dockerfile: Dockerfile
target: worker
image: registry.diginfra.net/tsd/lenticular-lens-worker:latest
depends_on:
- postgres
environment:
- DATABASE_HOST=postgres
- DATABASE_DB=postgres
- DATABASE_USER=postgres
- DATABASE_PASSWORD=postgres
- WORKER_TYPE=clustering
web:
build:
context: .
dockerfile: Dockerfile
target: web
image: registry.diginfra.net/tsd/lenticular-lens-web:latest
depends_on:
- postgres
environment:
- DATABASE_HOST=postgres
- DATABASE_DB=postgres
- DATABASE_USER=postgres
- DATABASE_PASSWORD=postgres
gui:
image: registry.diginfra.net/tsd/lenticular-lens-gui:latest
environment:
- VUE_APP_LENTICULAR_LENS_API=http://127.0.0.1:8000
- VUE_APP_LENTICULAR_LENS_TITLE=Lenticular Lens
- VUE_APP_LENTICULAR_LENS_SUB_TITLE=Reconcile data for Golden Agents
nginx:
image: nginx:stable-alpine
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
ports:
- 8000:80