-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (31 loc) · 796 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (31 loc) · 796 Bytes
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
version: "3.9"
services:
kip-content:
depends_on:
- 'kip-content-mongo'
container_name: "kip-content"
image: kip-content
environment:
- ASPNETCORE_ENVIRONMENT=Production
- LOGSTASH_URL=http://localhost:8080
- MONGODB_CONNECTION_STRING=mongodb://localhost:27019
- DB_NAME=kip_content_db
- CENSOR_COLLECTION_NAME=censors
- PERSON_COLLECTION_NAME=persons
- FILM_COLLECTION_NAME=films
ports:
- 5002:5002
- 5003:5003
build:
context: .
dockerfile: Dockerfile
network: kip-content
kip-content-mongo:
restart: always
image: 'mongo'
container_name: kip-content-mongo
ports:
- '27019:27017'
build:
context: .
network: kip-content