-
Notifications
You must be signed in to change notification settings - Fork 23
/
docker-compose.yml
71 lines (66 loc) · 1.57 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
version: '2'
services:
app:
image: node:10
working_dir: /usr/src/app
volumes:
- ./:/usr/src/app
environment:
PORT: 3000
MONGODB_URI: mongodb://root:password123@mongo/icu-dev?authSource=admin
ELASTICSEARCH_IP: elasticsearch
ROOT_LANG: en
FTP_IP: ftp
FTP_USER_NAME: admin
FTP_USER_PASS: admin
ROOT_ADMINS: [email protected]
ports:
- 3000:3000
- 9229:9229
command: npm start
user: node
depends_on:
- mongo
- elasticsearch
- ftp
mongo:
image: bitnami/mongodb:4.0
environment:
MONGODB_REPLICA_SET_MODE: primary
MONGODB_ADVERTISED_HOSTNAME: mongo
MONGODB_ROOT_PASSWORD: password123
MONGODB_REPLICA_SET_KEY: replicasetkey123
volumes:
- mongodata:/bitnami
ports:
- 27017:27017
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.8.4
environment:
ES_JAVA_OPTS: -Xms512m -Xmx512m
cluster.routing.allocation.disk.watermark.flood_stage: 99%
cluster.routing.allocation.disk.watermark.high: 99%
cluster.routing.allocation.disk.watermark.low: 95%
ports:
- 9200:9200
volumes:
- esdata:/usr/share/elasticsearch/data
mem_limit: 512m
ftp:
image: stilliard/pure-ftpd
ports:
- 21:21
- 30000-30009:30000-30009
volumes:
- ftpdata:/home/admin
environment:
PUBLICHOST: ftp
FTP_USER_NAME: admin
FTP_USER_PASS: admin
FTP_USER_HOME: /home/admin
restart: always
volumes:
mongodata:
esdata:
driver: local
ftpdata: