mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 07:38:36 -06:00
Compare commits
2 commits
e0c61bdb93
...
cf5909c888
Author | SHA1 | Date | |
---|---|---|---|
cf5909c888 | |||
dcb3144b22 |
1 changed files with 12 additions and 10 deletions
22
compose.yaml
22
compose.yaml
|
@ -10,16 +10,20 @@ services:
|
|||
- 4567:4567
|
||||
environment:
|
||||
# Change if you want to mount the database somewhere else.
|
||||
# If you do change it, make sure to accordingly change the volume
|
||||
# mount location below.
|
||||
- db_url=/urls.sqlite
|
||||
# In this case, you can get rid of the db volume below
|
||||
# and instead do a mount manually by specifying the location.
|
||||
# Make sure that you create an empty file with the correct name
|
||||
# before starting the container if you do make any changes.
|
||||
# (In fact, I'd suggest that you do that so that you can keep
|
||||
# a copy of your database.)
|
||||
- db_url=/db/urls.sqlite
|
||||
|
||||
# Change it in case you want to set the website name
|
||||
# displayed in front of the shorturls, defaults to
|
||||
# the hostname you're accessing it from.
|
||||
# - site_url=https://www.example.com
|
||||
|
||||
- password=$3CuReP4S$W0rD
|
||||
- password=TopSecretPass
|
||||
|
||||
# Pass the redirect method, if needed. TEMPORARY and PERMANENT
|
||||
# are accepted values, defaults to PERMANENT.
|
||||
|
@ -41,10 +45,8 @@ services:
|
|||
# headers instead.
|
||||
# - cache_control_header=no-cache, private
|
||||
volumes:
|
||||
- ./urls.sqlite:/urls.sqlite
|
||||
networks:
|
||||
- proxy
|
||||
- db:/db
|
||||
|
||||
volumes:
|
||||
db:
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
|
Loading…
Reference in a new issue