-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathinstall.yaml
More file actions
20 lines (17 loc) · 657 Bytes
/
install.yaml
File metadata and controls
20 lines (17 loc) · 657 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: mongo
project_files:
- commands/mongo/mongosh
- commands/host/mongo-express
- web-build/Dockerfile.mongo
- config.mongo.yaml
- docker-compose.mongo.yaml
- docker-compose.mongo_norouter.yaml
ddev_version_constraint: '>= v1.24.10'
post_install_actions:
- |
#ddev-description:If router disabled, directly expose port
if ( {{ contains "ddev-router" (list .DdevGlobalConfig.omit_containers | toString) }} ); then
printf "#ddev-generated\nservices:\n mongo-express:\n ports:\n - 9091:8081\n" > docker-compose.mongo_norouter.yaml
fi
- |
echo "You can now use 'ddev mongo-express' to launch Mongo Express UI"