docker/docs: use .example files instead for cleaner git

This commit is contained in:
Aidan 2025-04-17 17:46:51 -04:00
parent 19612a91d5
commit 122d3c36f7
4 changed files with 7 additions and 13 deletions

3
.gitignore vendored
View File

@ -137,4 +137,7 @@ drizzle/
bun.lockb bun.lockb
migrate.txt migrate.txt
db.sqlite3 db.sqlite3
ratelimit.json.example
# Docker
docker-compose.yml

View File

@ -35,12 +35,13 @@ All features marked with an **E** are extended features, and are not a part of t
bunx drizzle-kit migrate bunx drizzle-kit migrate
``` ```
3. **Copy/modify necessary files** 3. **Copy, move, and modify necessary files**
```bash ```bash
mv docker-compose.yml.example docker-compose.yml # depending on your use case, you might have to change some things here
touch migrate.txt # put emails (one per line) which already exist on the server which users can claim touch migrate.txt # put emails (one per line) which already exist on the server which users can claim
cp .env.example .env # you don't need to change anything here mv .env.example .env # you don't need to change anything here
vim ratelimit.json # optional, customize to your liking... mv ratelimit.json.example ratelimit.json # customize to your liking
``` ```
**Note:** If you are running mail-connect outside a Docker container (or changing the binds), please change the `MAILCONNECT_ROOT_DIR` to match your environment. **Note:** If you are running mail-connect outside a Docker container (or changing the binds), please change the `MAILCONNECT_ROOT_DIR` to match your environment.

View File

@ -1,10 +0,0 @@
{
"/list": {
"windowMs": 60000,
"limit": 20
},
"/add": {
"windowMs": 60000,
"limit": 10
}
}