From e5d890db214452986348ad935ee87585b94c1c34 Mon Sep 17 00:00:00 2001 From: itskovacs Date: Wed, 30 Jul 2025 08:51:30 +0200 Subject: [PATCH] :memo: Docker Compose recommendation, :memo: typo fix --- README.md | 17 ++++++++++++++++- docs/backup.md | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8fb306d..d53af4a 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,20 @@ Demo is worth a thousand words, head to 📸 [Demo](#Demo). If you need help, feel free to open an [issue](https://github.com/itskovacs/trip/issues). +Deployment is designed to be simple using Docker. + +### Option 1: Docker Compose (Recommended) + +Use the `docker-compose.yml` file provided in this repository. No changes are required, though you may customize it to suit your needs. + +Run the container: + +```bash +docker-compose up -d +``` + +### Option 2: Docker Run + ```bash # Ensure you have the latest image docker pull ghcr.io/itskovacs/trip:1 @@ -50,12 +64,13 @@ docker pull ghcr.io/itskovacs/trip:1 docker run -d -p 8080:8000 -v ./storage:/app/storage ghcr.io/itskovacs/trip:1 ``` +### Configuration + Refer to the [configuration documentation](https://github.com/itskovacs/trip/tree/main/docs/config.md) to set up OIDC authentication and other settings. > [!TIP] > See [Usage Tips](https://github.com/itskovacs/trip/tree/main/docs/usage_tips.md) in docs for advanced features. -
## 📸 Demo diff --git a/docs/backup.md b/docs/backup.md index 2e637cd..7149f4f 100644 --- a/docs/backup.md +++ b/docs/backup.md @@ -1,4 +1,4 @@ -TRIP uses SQLite databases to store the data. +TRIP uses a SQLite database to store the data. To back up your data, follow these simple steps: 1. **Stop the container**