mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-01 07:36:16 -05:00
19 lines
589 B
Plaintext
19 lines
589 B
Plaintext
# MongoDB
|
|
|
|
1. Copy `komodo/mongo.compose.yaml` and `komodo/compose.env` to your host:
|
|
```bash
|
|
wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/mongo.compose.yaml && \
|
|
wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/compose.env
|
|
```
|
|
2. Edit the variables in `komodo/compose.env`.
|
|
3. Deploy:
|
|
|
|
```bash
|
|
docker compose -p komodo -f komodo/mongo.compose.yaml --env-file komodo/compose.env up -d
|
|
```
|
|
|
|
```mdx-code-block
|
|
import ComposeAndEnv from "@site/src/components/ComposeAndEnv";
|
|
|
|
<ComposeAndEnv file_name="mongo.compose.yaml" />
|
|
``` |