-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (41 loc) · 901 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (41 loc) · 901 Bytes
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
services:
web:
container_name: adasilk_web
build:
context: https://github.com/D2KLab/explorer.git
args:
MONGODB_URI: ${MONGODB_URI}
depends_on:
- mongo
- redis
environment:
- NODE_ENV=${NODE_ENV}
mongo:
container_name: adasilk_mongo
image: mongo
volumes:
- mongo:/data/db
imaginary:
container_name: adasilk_imaginary
image: h2non/imaginary:latest
volumes:
- images:/mnt/data
environment:
PORT: 9000
command: -enable-url-source -mount /mnt/data -allowed-origins ${IMAGINARY_ALLOWED_ORIGINS} -http-cache-ttl 31556926
redis:
container_name: adasilk_redis
image: redis
command:
[
'redis-server',
'--appendonly',
'no',
'--maxmemory',
'4gb',
'--maxmemory-policy',
'allkeys-lru',
]
volumes:
mongo: {}
images: {}