Files
komodo/docsite/docs/setup/sqlite.mdx
2025-02-08 18:45:32 -08:00

25 lines
959 B
Plaintext

# Sqlite
:::info
FerritDB + Sqlite authentication support is [still experimental](https://docs.ferretdb.io/security/authentication/#experimental-authentication-mode),
and is not enabled in this database configuration. Because of this, the values for `DB_USERNAME` and `DB_PASSWORD`
are ignored when using Sqlite, and the database port is not exposed publicly by default.
:::
1. Copy `komodo/sqlite.compose.yaml` and `komodo/compose.env` to your host:
```bash
wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/sqlite.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/sqlite.compose.yaml --env-file komodo/compose.env up -d
```
```mdx-code-block
import ComposeAndEnv from "@site/src/components/ComposeAndEnv";
<ComposeAndEnv file_name="sqlite.compose.yaml" />
```