mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-22 17:26:45 +00:00
Update docker compose instructions
This commit is contained in:
parent
0367e74a7c
commit
946afbf726
@ -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 New Issue
Block a user