mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 23:58:35 -06:00
Update docker compose instructions
This commit is contained in:
parent
0367e74a7c
commit
946afbf726
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue