Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
uncomment client ip env
  • Loading branch information
l4rm4nd authored Nov 1, 2023
1 parent f65cf79 commit 0a7fb6f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions examples/chevereto/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -54,4 +57,4 @@ volumes:

#networks:
# proxy:
# external: true
# external: true

0 comments on commit 0a7fb6f

Please sign in to comment.