mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
Reverse proxy / load balancer configuration for local development (#2097)
* Add server reverse proxy configuration example for docker compose * Use n + 100 for Identity load balancer port
This commit is contained in:
@ -97,6 +97,17 @@ services:
|
||||
- '636:636'
|
||||
profiles:
|
||||
- ldap
|
||||
|
||||
reverse-proxy:
|
||||
image: nginx:alpine
|
||||
container_name: reverse-proxy
|
||||
volumes:
|
||||
- "./reverse-proxy.conf:/etc/nginx/conf.d/default.conf"
|
||||
ports:
|
||||
- "${API_PROXY_PORT}:${API_PROXY_PORT}"
|
||||
- "${IDENTITY_PROXY_PORT}:${IDENTITY_PROXY_PORT}"
|
||||
profiles:
|
||||
- proxy
|
||||
|
||||
volumes:
|
||||
edgesql_dev_data:
|
||||
|
Reference in New Issue
Block a user