feat: support configurable CORS proxy server (#383)
This commit is contained in:
parent
34a680ae24
commit
b4f972dcbb
3 changed files with 32 additions and 3 deletions
|
|
@ -6,6 +6,23 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
VITE_PROXY_SERVER: http://localhost:8090
|
||||
ports:
|
||||
- "8089:80"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- jumble
|
||||
|
||||
proxy-server:
|
||||
image: ghcr.io/danvergara/jumble-proxy-server:latest
|
||||
environment:
|
||||
- ALLOW_ORIGIN=http://localhost:8089
|
||||
- PORT=8080
|
||||
ports:
|
||||
- "8090:8080"
|
||||
networks:
|
||||
- jumble
|
||||
|
||||
networks:
|
||||
jumble:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue