Skip to content

Commit 3996ad8

Browse files
author
tchapi
committed
chore
1 parent 64103c3 commit 3996ad8

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ a. The database driver and url (_you should already have it configured since you
9797

9898
```shell
9999
DATABASE_DRIVER=mysql # or postgresql, or sqlite
100-
DATABASE_URL=mysql://db_user:db_pass@host:3306/db_name?serverVersion=mariadb-10.6.10&charset=utf8mb4
100+
DATABASE_URL=mysql://db_user:db_pass@host:3306/db_name?serverVersion=10.9.3-MariaDB&charset=utf8mb4
101101
```
102102

103103
b. The admin password for the backend
@@ -322,7 +322,7 @@ dav.domain.tld {
322322
SetEnv APP_ENV prod
323323
SetEnv APP_SECRET <app-secret-id>
324324
SetEnv DATABASE_DRIVER "mysql"
325-
SetEnv DATABASE_URL "mysql://db_user:db_pass@host:3306/db_name?serverVersion=mariadb-10.6.10&charset=utf8mb4"
325+
SetEnv DATABASE_URL "mysql://db_user:db_pass@host:3306/db_name?serverVersion=10.9.3-MariaDB&charset=utf8mb4"
326326
# ... etc
327327
</VirtualHost>
328328
```
@@ -351,7 +351,7 @@ server {
351351
fastcgi_param APP_ENV prod;
352352
fastcgi_param APP_SECRET <app-secret-id>;
353353
fastcgi_param DATABASE_DRIVER "mysql";
354-
fastcgi_param DATABASE_URL "mysql://db_user:db_pass@host:3306/db_name?serverVersion=mariadb-10.6.10&charset=utf8mb4";
354+
fastcgi_param DATABASE_URL "mysql://db_user:db_pass@host:3306/db_name?serverVersion=10.9.3-MariaDB&charset=utf8mb4";
355355
# ... etc ...
356356
357357
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
@@ -435,15 +435,15 @@ docker pull ghcr.io/tchapi/davis-standalone:v4.4.0
435435
436436
### Edge image
437437
438-
The edge image is built from the tip of the main branch:
438+
The edge image is generally built from the tip of the main branch, but might sometimes be used for specific branch testing:
439439
440440
```
441441
docker pull ghcr.io/tchapi/davis:edge
442442
```
443443
444444
> [!WARNING]
445445
>
446-
> The `edge` image must not be considered stable. Use only release images for production.
446+
> The `edge` image must not be considered stable. **Use only release images for production setups**.
447447
448448
## Full stack
449449
@@ -537,7 +537,12 @@ Depending on how you run Davis, logs are either:
537537
538538
> [!NOTE]
539539
>
540-
> It's `./var/log` (relative to the Davis installation), not `/var/log`
540+
> It's `./var/log` (relative to the Davis installation), not `/var/log`.
541+
>
542+
> To tail the aplication log on Docker, do:
543+
> ```
544+
> docker exec -it davis tail /var/www/davis/var/log/prod.log
545+
> ```
541546
542547
### I have a "Bad timezone configuration env var" error on the dashboard
543548

0 commit comments

Comments
 (0)