Lucien Cartier-Tilet
58cbde4cef
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
10 lines
163 B
YAML
10 lines
163 B
YAML
services:
|
|
p4bl0t:
|
|
build:
|
|
context: .
|
|
target: final
|
|
environment:
|
|
DISCORD_TOKEN: changeme
|
|
volumes:
|
|
- ./p4bl0t.db:/app/p4bl0t.db
|