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

Compare commits

..

No commits in common. "cf5909c888466afb1c405e89cde1de40298e27c7" and "e0c61bdb93f299adf01871ff0ce1149c5c5b051f" have entirely different histories.

View file

@ -10,20 +10,16 @@ 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.
# Make sure that you create an empty file with the correct name - db_url=/urls.sqlite
# 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 # 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
# the hostname you're accessing it from. # the hostname you're accessing it from.
# - site_url=https://www.example.com # - site_url=https://www.example.com
- password=TopSecretPass - password=$3CuReP4S$W0rD
# Pass the redirect method, if needed. TEMPORARY and PERMANENT # Pass the redirect method, if needed. TEMPORARY and PERMANENT
# are accepted values, defaults to PERMANENT. # are accepted values, defaults to PERMANENT.
@ -45,8 +41,10 @@ services:
# headers instead. # headers instead.
# - cache_control_header=no-cache, private # - cache_control_header=no-cache, private
volumes: volumes:
- db:/db - ./urls.sqlite:/urls.sqlite
networks:
volumes: - proxy
db:
networks:
proxy:
external: true