-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
41 lines (41 loc) · 1007 Bytes
/
docker-compose.yaml
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:
consul:
image: consul:latest
ports:
- "8500:8500"
- "8600:8600/udp"
web:
container_name: articard
build: .
ports:
- "3113:3113"
environment:
- TELP_PORT=3113
- TELP_RIJKSMUSEUM_API_KEY=0tLStV9s
- TELP_RIJKSMUSEUM_USER_ID=2225745
- TELP_RIJKSMUSEUM_USERSET_NAME=javanese
- TELP_RIJKSMUSEUM_BASE_USERSETS_URL=https://www.rijksmuseum.nl/api/en/usersets
- TELP_RIJKSMUSEUM_BASE_COLLECTION_URL=https://www.rijksmuseum.nl/api/en/collection
- TELP_DATABASE_URL=mongodb://mongo-server:27017/telp
- TELP_REDIS_URL=redis://redis-server:6379
- TELP_HOST=localhost
depends_on:
- consul
- redis
- mongo
redis:
container_name: redis-server
image: redis
ports:
- "6379:6379"
depends_on:
- consul
mongo:
container_name: mongo-server
image: mongo
ports:
- "27017:27017"
volumes:
- ../data/db:/data/db
depends_on:
- consul