-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathfig.yml
50 lines (50 loc) · 1.07 KB
/
fig.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
web:
image: dockerfile/nodejs
links:
- mongodb
- elasticsearch
ports:
- "8123:8123"
volumes:
- data/ukiyoe/:/data
- .:/app
working_dir: /app
command: node server.js
environment:
- PORT=8123
- MONGODB_URL=mongodb://localhost:27017/ukiyoe
- ELASTICSEARCH_URL=http://localhost:9200
- BASE_DATA_DIR=/data
- BASE_DATA_URL=http://data.ukiyo-e.org/
- ME_PASSWORD=USERNAME
- ME_USERNAME=PASSWORD
- ME_SERVER=matchengine.tineye.com
- S3_BUCKET=data.ukiyo-e.org
- S3_KEY=KEY
- S3_SECRET=SECRET
- S3_STATIC_BUCKET=static.ukiyo-e.org
- THUMB_SIZE=220x220
- SCALED_SIZE=300x300
mongodbdata:
image: busybox
command: true
volumes:
- /data/db
mongodb:
image: dockerfile/mongodb
ports:
- "27017:27017"
volumes_from:
- mongodbdata
elasticsearchdata:
image: busybox
command: true
volumes:
- /data
elasticsearch:
image: dockerfile/elasticsearch
ports:
- "9200:9200"
- "9300:9300"
volumes_from:
- elasticsearchdata