Skip to content

Commit de5c981

Browse files
author
erangi-ar
committed
fix: update CORS settings to include production URL and remove unused Caddy service
1 parent ea6affc commit de5c981

1 file changed

Lines changed: 4 additions & 24 deletions

File tree

docker-compose-gpu.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
container_name: ruuter-public
77
image: ruuter
88
environment:
9-
- application.cors.allowedOrigins=http://localhost:8086,http://localhost:3001,http://localhost:3003,http://localhost:3004,http://localhost:8080,http://localhost:8000,http://localhost:8090
9+
- application.cors.allowedOrigins=http://localhost:8086,http://localhost:3001,http://localhost:3003,http://localhost:3004,http://localhost:8080,http://localhost:8000,http://localhost:8090,https://global-classifier-dev.rootcode.software
1010
- application.httpCodesAllowList=200,201,202,204,400,401,403,500
1111
- application.internalRequests.allowedIPs=127.0.0.1
1212
- application.logging.displayRequestContent=true
@@ -28,7 +28,7 @@ services:
2828
container_name: ruuter-private
2929
image: ruuter
3030
environment:
31-
- application.cors.allowedOrigins=http://localhost:3001,http://localhost:3003,http://localhost:8088,http://localhost:3002,http://localhost:3004,http://localhost:8000
31+
- application.cors.allowedOrigins=http://localhost:3001,http://localhost:3003,http://localhost:8088,http://localhost:3002,http://localhost:3004,http://localhost:8000,https://global-classifier-dev.rootcode.software
3232
- application.httpCodesAllowList=200,201,202,400,401,403,500
3333
- application.internalRequests.allowedIPs=127.0.0.1
3434
- application.logging.displayRequestContent=true
@@ -68,7 +68,7 @@ services:
6868
tim-postgresql:
6969
condition: service_started
7070
environment:
71-
- SECURITY_ALLOWLIST_JWT=ruuter-private,ruuter-public,data-mapper,resql,tim,tim-postgresql,chat-widget,authentication-layer,127.0.0.1,::1
71+
- SECURITY_ALLOWLIST_JWT=ruuter-private,ruuter-public,data-mapper,resql,tim,tim-postgresql,chat-widget,authentication-layer,127.0.0.1,::1,global-classifier-dev.rootcode.software
7272
- KEY_PASS=ppjjpp
7373
ports:
7474
- 8085:8085
@@ -296,7 +296,7 @@ services:
296296
OPENSEARCH_PASSWORD: admin
297297
PORT: 4040
298298
REFRESH_INTERVAL: 1000
299-
CORS_WHITELIST_ORIGINS: http://localhost:3001,http://localhost:3002,http://localhost:3003,http://localhost:3004,http://localhost:8080,http://localhost:8088
299+
CORS_WHITELIST_ORIGINS: http://localhost:3001,http://localhost:3002,http://localhost:3003,http://localhost:3004,http://localhost:8080,http://localhost:8088,https://global-classifier-dev.rootcode.software
300300
RUUTER_URL: http://ruuter-public:8086
301301
volumes:
302302
- /app/node_modules
@@ -574,21 +574,6 @@ services:
574574
- loki
575575
restart: unless-stopped
576576

577-
caddy:
578-
image: caddy:latest
579-
container_name: caddy
580-
restart: unless-stopped
581-
ports:
582-
- "80:80"
583-
- "443:443"
584-
volumes:
585-
- ./Caddyfile:/etc/caddy/Caddyfile
586-
- caddy_data:/data
587-
- caddy_config:/config
588-
- /var/log/caddy:/var/log/caddy
589-
networks:
590-
- bykstack
591-
592577
volumes:
593578
shared-volume:
594579
name: shared-volume
@@ -606,11 +591,6 @@ volumes:
606591
name: grafana-data
607592
redis_data:
608593
name: redis_data
609-
caddy_data:
610-
name: caddy_data
611-
caddy_config:
612-
name: caddy_config
613-
614594

615595
networks:
616596
bykstack:

0 commit comments

Comments
 (0)