1
0
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:
Shane Melton
2022-08-31 17:21:40 -07:00
committed by GitHub
parent 2bf8438ff7
commit 9a12992b59
4 changed files with 54 additions and 0 deletions

View File

@ -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: