summaryrefslogtreecommitdiff
path: root/example/docker-compose/docker-compose.yaml
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-01-23 14:48:09 +0000
committerLibravatar GitHub <noreply@github.com>2025-01-23 15:48:09 +0100
commitb42cb7a802096762cbffb0fa1177c8355898cc1c (patch)
treebdd88b6fe32ce32a8fe3b0773209dfb1d5a2df39 /example/docker-compose/docker-compose.yaml
parent[feature] Add `published` property to outgoing AP Actor representations (#3671) (diff)
downloadgotosocial-b42cb7a802096762cbffb0fa1177c8355898cc1c.tar.xz
[feature] Add warning about `trusted-proxies` to make config easier (#3675)
* [feature] Add warning about `trusted-proxies` to make config easier * thank you linter, hugs and kisses to you
Diffstat (limited to 'example/docker-compose/docker-compose.yaml')
-rw-r--r--example/docker-compose/docker-compose.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/example/docker-compose/docker-compose.yaml b/example/docker-compose/docker-compose.yaml
index 05896d724..fbd9af8dd 100644
--- a/example/docker-compose/docker-compose.yaml
+++ b/example/docker-compose/docker-compose.yaml
@@ -1,5 +1,3 @@
-version: "3.3"
-
services:
gotosocial:
image: superseriousbusiness/gotosocial:latest
@@ -24,7 +22,7 @@ services:
# Wazero compilation cache will be stored.
GTS_WAZERO_COMPILATION_CACHE: /gotosocial/.cache
## For reverse proxy setups:
- # GTS_TRUSTED_PROXIES: "172.x.x.x"
+ GTS_TRUSTED_PROXIES: "172.18.0.1/16"
## Set the timezone of your server:
#TZ: UTC
ports:
@@ -47,3 +45,6 @@ networks:
gotosocial:
ipam:
driver: default
+ config:
+ - subnet: "172.18.0.0/16"
+ gateway: "172.18.0.1"