mirror of https://github.com/dotnet/tye.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
529 B
23 lines
529 B
name: mongo-sample
|
|
services:
|
|
- name: mongo
|
|
image: mongo
|
|
env:
|
|
- name: ME_CONFIG_MONGODB_ADMINUSERNAME
|
|
value: root
|
|
- name: ME_CONFIG_MONGODB_ADMINPASSWORD
|
|
value: example
|
|
bindings:
|
|
- port: 27017
|
|
connectionString: "mongodb://${host}:${port}"
|
|
- name: mongo-express
|
|
image: mongo-express
|
|
bindings:
|
|
- port: 8081
|
|
containerPort: 8081
|
|
protocol: http
|
|
env:
|
|
- name: ME_CONFIG_MONGODB_ADMINUSERNAME
|
|
value: root
|
|
- name: ME_CONFIG_MONGODB_ADMINPASSWORD
|
|
value: example
|
|
|