File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
client/.docker/nginx/conf Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 77 listen ${PORT};
88
99 # You should configure this to the domain that points to this app.
10- server_name ${VITE_BUDGET_BOARD_DOMAIN} ;
10+ server_name _ ;
1111
1212 access_log /var/log/nginx/nginx.vhost.access.log;
1313 error_log /var/log/nginx/nginx.vhost.error.log;
@@ -22,6 +22,7 @@ server {
2222 # This will redirect a request from this container to our backend container.
2323 proxy_pass http://backend_server/api/;
2424 proxy_set_header Host ${DOLLAR}proxy_host:${DOLLAR}proxy_port;
25+
2526 # These are used to identify the original reverse proxied request
2627 proxy_set_header X-Forwarded-For ${DOLLAR}proxy_add_x_forwarded_for;
2728 proxy_set_header X-Forwarded-Host ${DOLLAR}http_host;
Original file line number Diff line number Diff line change 11# See https://budgetboard.net/deploy/configuration for details about each setting.
22
33# Client configuration
4- BUDGET_BOARD_DOMAIN = localhost:6253
5- SERVER_ADDRESS = budget-board-server
64PORT = 6253
75
86# Server configuration
9- CLIENT_ADDRESS = budget-board-client
107LOG_LEVEL = Information
118
129# Database configuration
@@ -18,7 +15,7 @@ POSTGRES_PASSWORD=superSecretPassword
1815
1916# OIDC configuration (uncomment and set these values to enable OIDC authentication)
2017OIDC_ENABLED = false
21- # OIDC_ISSUER=https://my-oidc-provider.com/
18+ # OIDC_ISSUER=https://my-oidc-provider.com
2219# OIDC_CLIENT_ID=myClientId
2320# OIDC_CLIENT_SECRET=mySuperSecretClientSecret
2421
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
66 build : ./server
77 environment :
88 Logging__LogLevel__Default : ${LOG_LEVEL:-Information}
9- CLIENT_ADDRESS : ${CLIENT_ADDRESS:- budget-board-client}
9+ CLIENT_ADDRESS : budget-board-client
1010 POSTGRES_HOST : ${POSTGRES_HOST:-budget-board-db}
1111 POSTGRES_PORT : ${POSTGRES_PORT:-5432}
1212 POSTGRES_DATABASE : ${POSTGRES_DATABASE:-budgetboard}
@@ -39,8 +39,7 @@ services:
3939 build : ./client
4040 environment :
4141 PORT : ${PORT:-6253}
42- VITE_BUDGET_BOARD_DOMAIN : ${BUDGET_BOARD_DOMAIN:-localhost:6253}
43- VITE_SERVER_ADDRESS : ${SERVER_ADDRESS:-budget-board-server}
42+ VITE_SERVER_ADDRESS : budget-board-server
4443 VITE_OIDC_ENABLED : ${OIDC_ENABLED:-false}
4544 VITE_OIDC_PROVIDER : ${OIDC_ISSUER:-}
4645 VITE_OIDC_CLIENT_ID : ${OIDC_CLIENT_ID:-}
You can’t perform that action at this time.
0 commit comments