feat: dockerize p4bl0t

This commit removes DATABASE_URL variable in favour of a fixed name.
The project won’t panic anymore if this variable isn’t set. This
removes the need for dotenvy.

It also adds the necessary files to dockerize the application.

Update instructions in README on how to run the project.

Add possibility to compile the project without a database available.

Closes #8
This commit is contained in:
2024-01-18 02:31:53 +01:00
parent d789ea7e74
commit 4789ffd34d
14 changed files with 485 additions and 254 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,3 @@
/target
/.env
*.db
/.sqlx/