Improve ReadMe

This commit is contained in:
urania-dev
2024-08-09 21:02:52 +02:00
parent 741c1fc569
commit 6a524908b0

View File

@@ -45,6 +45,24 @@ services:
**Note**: SQLite database is located in /app/prisma/{DATABASE_URL} if you want to mount it **Note**: SQLite database is located in /app/prisma/{DATABASE_URL} if you want to mount it
***Update8.1***: In order to make it actually work it ended up requiring better specification of schemas for Prisma Clients,
the combinations are:
```yml
DATABASE_PROVIDER: sqlite
DATABASE_URL: file:./db.sqlite
```
```yml
DATABASE_PROVIDER: mysql
DATABASE_MYSQL_URL: mysql://root:password@mariadb:3306/snappdb
```
```yml
DATABASE_PROVIDER: postgres
DATABASE_MYSQL_URL: postgres://postgres:password@postgres:5432/snappdb
```
## Default Admin Authentication ## Default Admin Authentication
If ENV variables ADMIN_USERNAME and ADMIN_PASSWORD are not set it defaults to the very secure: If ENV variables ADMIN_USERNAME and ADMIN_PASSWORD are not set it defaults to the very secure: