From 096767bb3b59b31106bd8fddd27e17cc234caf5a Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sun, 13 Oct 2024 21:51:31 +0200 Subject: [chore/docs] Add `/gotosocial/.cache` to Docker container, document `GTS_WAZERO_COMPILATION_CACHE` (#3425) * [chore/docs] Add `/gotosocial/.cache` to Docker container, document `GTS_WAZERO_COMPILATION_CACHE` * update wazero artifact size guesstimate --- example/docker-compose/docker-compose.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'example/docker-compose/docker-compose.yaml') diff --git a/example/docker-compose/docker-compose.yaml b/example/docker-compose/docker-compose.yaml index fc80348b2..05896d724 100644 --- a/example/docker-compose/docker-compose.yaml +++ b/example/docker-compose/docker-compose.yaml @@ -8,11 +8,21 @@ services: networks: - gotosocial environment: + # Change this to your actual host value. GTS_HOST: example.org GTS_DB_TYPE: sqlite + # Path in the GtS Docker container where + # the sqlite.db file will be stored. GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db + # Change this to true if you're not running + # GoToSocial behind a reverse proxy. GTS_LETSENCRYPT_ENABLED: "false" + # Set your email address here if you + # want to receive letsencrypt notices. GTS_LETSENCRYPT_EMAIL_ADDRESS: "" + # Path in the GtS Docker container where the + # Wazero compilation cache will be stored. + GTS_WAZERO_COMPILATION_CACHE: /gotosocial/.cache ## For reverse proxy setups: # GTS_TRUSTED_PROXIES: "172.x.x.x" ## Set the timezone of your server: @@ -24,7 +34,13 @@ services: ## For reverse proxy setups: #- "127.0.0.1:8080:8080" volumes: + # Your data volume, for your + # sqlite.db file and media files. - ~/gotosocial/data:/gotosocial/storage + # OPTIONAL: To mount volume for the WAZERO + # compilation cache, for speedier restart + # times, uncomment the below line: + #- ~/gotosocial/.cache:/gotosocial/.cache restart: "always" networks: -- cgit v1.2.3