From 514e9052996704a5cde77e3bb760184147d8741b Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Wed, 2 Oct 2024 23:46:56 -0500 Subject: [PATCH] chg: Updated instructions in the compose file --- compose.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/compose.yaml b/compose.yaml index deb968a..07038b3 100644 --- a/compose.yaml +++ b/compose.yaml @@ -10,9 +10,9 @@ services: - 4567:4567 environment: # Change if you want to mount the database somewhere else. - # In this case, you can get rid of the db volume below - # and instead do a mount manually by specifying the location. - # - db_url=/urls.sqlite + # If you do change it, make sure to accordingly change the volume + # mount location below. + - db_url=/urls.sqlite # Change it in case you want to set the website name # displayed in front of the shorturls, defaults to @@ -41,14 +41,10 @@ services: # headers instead. # - cache_control_header=no-cache, private volumes: - - db:/urls.sqlite + - ./urls.sqlite:/urls.sqlite networks: - proxy -volumes: - db: - - networks: proxy: external: true