From 946afbf726e77c21eafd3363ed1a103710d26755 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sat, 5 Nov 2022 14:44:15 -0500 Subject: [PATCH] Update docker compose instructions --- README.md | 4 +++- docker-compose.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 191ef70..cdb36d3 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,9 @@ it as needed. Run it with ``` docker compose up -d ``` - +If you're using a custom location for the `db_url`, make sure to make that file +before running the docker image, as otherwise a directory will be created in its +place, resulting in an error. ## Building from source Clone this repository ``` diff --git a/docker-compose.yml b/docker-compose.yml index 2ad9898..7b8b3d9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,7 @@ services: - 4567:4567 environment: # Change if you want to mount the database somewhere else + # In this case, you can get rid of the db volume below # - db_url=/urls.sqlite - username=admin - password=$3CuReP4S$W0rD