Skip to content

Commit 27be896

Browse files
committed
docker-compose: allow passing FORWARDED_ALLOW_IPS to uvicorn
This helps in parsing client IP correctly behind a proxy
1 parent d3aab6a commit 27be896

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ services:
2222
CBS_REMOTES_RELOAD_TOKEN: ${CBS_REMOTES_RELOAD_TOKEN}
2323
PYTHONPATH: /app
2424
CBS_BUILD_TIMEOUT_SEC: ${CBS_BUILD_TIMEOUT_SEC:-900}
25+
FORWARDED_ALLOW_IPS: ${FORWARDED_ALLOW_IPS:-*}
2526
volumes:
2627
- ./base:/base:rw
2728
depends_on:

0 commit comments

Comments
 (0)