Compare commits
2 Commits
e5dced48d2
...
9fcc458760
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9fcc458760 | ||
|
|
0192c9b3e5 |
@ -38,6 +38,9 @@ services:
|
|||||||
- WREN_API_TOKEN=${WREN_API_TOKEN}
|
- WREN_API_TOKEN=${WREN_API_TOKEN}
|
||||||
- WREN_DRY_RUN=${WREN_DRY_RUN:-false}
|
- WREN_DRY_RUN=${WREN_DRY_RUN:-false}
|
||||||
- DATABASE_PATH=/app/data/orders.db
|
- DATABASE_PATH=/app/data/orders.db
|
||||||
|
dns:
|
||||||
|
- 8.8.8.8
|
||||||
|
- 8.8.4.4
|
||||||
networks:
|
networks:
|
||||||
- puffin-network
|
- puffin-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@ -88,7 +88,7 @@ server {
|
|||||||
|
|
||||||
# === Backend API - Stripe Webhooks (specific route, no trailing slash) ===
|
# === Backend API - Stripe Webhooks (specific route, no trailing slash) ===
|
||||||
location = /api/webhooks/stripe {
|
location = /api/webhooks/stripe {
|
||||||
proxy_pass http://127.0.0.1:3001/api/webhooks/stripe;
|
proxy_pass http://127.0.0.1:3801/api/webhooks/stripe;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
@ -106,7 +106,7 @@ server {
|
|||||||
|
|
||||||
# === Backend API - All other API routes ===
|
# === Backend API - All other API routes ===
|
||||||
location /api/ {
|
location /api/ {
|
||||||
proxy_pass http://127.0.0.1:3001/;
|
proxy_pass http://127.0.0.1:3801/;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user