Update README.md

This commit is contained in:
Wavering Ana 2025-01-29 19:45:22 -05:00 committed by GitHub
parent 9fe7359da5
commit d6ecc5fb2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,10 +31,10 @@ then check /target/release for the binary named `SimpleGit`
```bash ```bash
docker build --build-arg API_URL=http://localhost:8080 -t simplelink . docker build --build-arg API_URL=http://localhost:8080 -t simplelink .
docker run -p 8080:8080 \ docker run -p 8080:8080 \
-e JWT_SECRET=change-me-in-production \ -e JWT_SECRET=change-me-in-production \
-e DATABASE_URL=postgres://user:password@host:port/database \ -v simplelink_data:/data \
simplelink simplelink
``` ```
### From Docker Compose ### From Docker Compose
Adjust the included docker-compose.yml to your liking, it includes a postgres config as well. Adjust the included docker-compose.yml to your liking; it includes a postgres config as well.