-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (44 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
49 lines (44 loc) · 1.16 KB
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
version: '3.4'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4
container_name: elasticsearch
ports:
- "9200:9200"
redis:
container_name: redis
image: redis:5.0.0
ports:
- "6379:6379"
entrypoint:
redis-server --appendonly yes
db:
container_name: database
image: postgres:11.0
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
mongodb:
image: 'bitnami/mongodb:4.1.4-ol-7-r10'
container_name: mongodb
ports:
- "27017:27017"
booksapplication:
container_name: booksapplication
image: 'dc297/booksapplication:fourthtry'
depends_on:
- "db"
- "redis"
- "elasticsearch"
- "mongodb"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:8080
- REDISCONNECTIONSTRING=redis:6379
- PGCONNECTIONSTRING=Host=database;Username=postgres;Password=postgres;Database=booksappdb;Port=5432
- MONGOCONNECTIONSTRING=mongodb://mongodb:27017
- ELASTICCONNECTIONSTRING=http://elasticsearch:9200
ports:
- "60834:8080"