-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
42 lines (42 loc) · 1 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
nametag:
build: .
dockerfile: nametagDockerfile
env_file:
- .env
volumes:
- ./dist:/usr/client/
- ./.keys:/usr/.keys
- ./.hz:/usr/client/.hz
- .:/usr/nametag/
- ./server/backup:/usr/nametag/server/backup
links:
- rethinkdb
# - elasticsearch
ports:
- "8181:8181"
- "8185:8185"
rethinkdb:
image: rethinkdb
command: rethinkdb --bind "all" #--http-tls-key /usr/.keys/privkey.pem --http-tls-cert /usr/.keys/cert.pem
volumes:
- ./rethinkdb_data/:/var/lib/rethinkdb/instances.d
- ./.keys:/usr/.keys
expose:
- "28015"
ports:
- "127.0.0.1:8080:8080"
# elasticsearch:
# image: docker.elastic.co/elasticsearch/elasticsearch:5.4.0
# environment:
# - cluster.name=nametag-cluster
# - bootstrap.memory_lock=true
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
# ulimits:
# memlock:
# soft: -1
# hard: -1
# mem_limit: 1g
# volumes:
# - esdata1:/usr/share/elasticsearch/data
# ports:
# - 9200:9200