1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-26 07:38:36 -06:00

Update docker compose instructions

This commit is contained in:
Sayantan Santra 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
```
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
```

View file

@ -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