mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-25 02:06:46 +00:00
chg: Updated instructions in the compose file
This commit is contained in:
parent
3688692c7a
commit
514e905299
12
compose.yaml
12
compose.yaml
@ -10,9 +10,9 @@ 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
|
# If you do change it, make sure to accordingly change the volume
|
||||||
# and instead do a mount manually by specifying the location.
|
# mount location below.
|
||||||
# - db_url=/urls.sqlite
|
- db_url=/urls.sqlite
|
||||||
|
|
||||||
# Change it in case you want to set the website name
|
# Change it in case you want to set the website name
|
||||||
# displayed in front of the shorturls, defaults to
|
# displayed in front of the shorturls, defaults to
|
||||||
@ -41,14 +41,10 @@ services:
|
|||||||
# headers instead.
|
# headers instead.
|
||||||
# - cache_control_header=no-cache, private
|
# - cache_control_header=no-cache, private
|
||||||
volumes:
|
volumes:
|
||||||
- db:/urls.sqlite
|
- ./urls.sqlite:/urls.sqlite
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
volumes:
|
|
||||||
db:
|
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
Loading…
Reference in New Issue
Block a user