Update docker-compose.yml

uncomment client ip env
This commit is contained in:
LRVT 2023-11-01 20:28:52 +01:00 committed by GitHub
parent f65cf79cd9
commit 0a7fb6fd05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,10 @@ services:
CHEVERETO_ASSET_STORAGE_TYPE: local
CHEVERETO_ASSET_STORAGE_URL: /images/_assets
CHEVERETO_ASSET_STORAGE_BUCKET: /var/www/html/images/_assets
CHEVERETO_HEADER_CLIENT_IP: X-Forwarded-For # only enable this if run begind reverse proxy
# only enable the next env if chevereto is run begind a reverse proxy
# adjust to the corresponding http header of your reverse proxy, where a user's real IP is propagated
# see https://github.com/chevereto/chevereto/issues/44
#CHEVERETO_HEADER_CLIENT_IP: X-Forwarded-For
#networks:
# - proxy
#labels:
@ -54,4 +57,4 @@ volumes:
#networks:
# proxy:
# external: true
# external: true