Update docker compose instructions

This commit is contained in:
SinTan1729 2022-11-05 14:44:15 -05:00
parent 0367e74a7c
commit 946afbf726
2 changed files with 4 additions and 1 deletions

View File

@ -54,7 +54,9 @@ it as needed. Run it with
``` ```
docker compose up -d 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 ## Building from source
Clone this repository Clone this repository
``` ```

View File

@ -8,6 +8,7 @@ services:
- 4567:4567 - 4567:4567
environment: environment:
# Change if you want to mount the database somewhere else # 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 # - db_url=/urls.sqlite
- username=admin - username=admin
- password=$3CuReP4S$W0rD - password=$3CuReP4S$W0rD