-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yml
33 lines (31 loc) · 831 Bytes
/
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
services:
ip-locations:
build:
context: .
ports:
- 5100:80
environment:
ASPNETCORE_ENVIRONMENT: Development
Mongo__ConnectionString: "mongodb://crezcoAdmin:very_secure_password@mongodb:27017"
Mongo__DatabaseName: "TestTest_Docker"
depends_on:
- mongodb
mongodb:
image: mongo
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: crezcoAdmin
MONGO_INITDB_ROOT_PASSWORD: very_secure_password
dbui:
image: mongo-express
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_SERVER: mongodb
ME_CONFIG_BASICAUTH_USERNAME: admin
ME_CONFIG_BASICAUTH_PASSWORD: admin
ME_CONFIG_MONGODB_ADMINUSERNAME: crezcoAdmin
ME_CONFIG_MONGODB_ADMINPASSWORD: very_secure_password
depends_on:
- mongodb