Skip to content

Commit

Permalink
fix: docker compose and env
Browse files Browse the repository at this point in the history
  • Loading branch information
pablohashescobar committed Oct 14, 2024
1 parent 1245d20 commit 35c9c18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deploy/selfhost/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ x-app-env: &app-env
- SECRET_KEY=${SECRET_KEY:-60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b5}
# DATA STORE SETTINGS
- USE_MINIO=${USE_MINIO:-1}
- AWS_REGION=${AWS_REGION:-""}
- AWS_REGION=${AWS_REGION:-}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:-"access-key"}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY:-"secret-key"}
- AWS_S3_ENDPOINT_URL=${AWS_S3_ENDPOINT_URL:-http://plane-minio:9000}
Expand Down
4 changes: 2 additions & 2 deletions nginx/nginx.conf.dev
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ http {
proxy_pass http://space:3002/spaces/;
}

location /${BUCKET_NAME}/ {
location /${BUCKET_NAME} {
proxy_http_version 1.1;
proxy_set_header Upgrade ${dollar}http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host ${dollar}http_host;
proxy_pass http://plane-minio:9000/uploads/;
proxy_pass http://plane-minio:9000/${BUCKET_NAME};
}
}
}
4 changes: 2 additions & 2 deletions nginx/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ http {
proxy_pass http://space:3000/spaces/;
}

location /${BUCKET_NAME}/ {
location /${BUCKET_NAME} {
proxy_http_version 1.1;
proxy_set_header Upgrade ${dollar}http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host ${dollar}http_host;
proxy_pass http://plane-minio:9000/uploads/;
proxy_pass http://plane-minio:9000/${BUCKET_NAME};
}
}
}

0 comments on commit 35c9c18

Please sign in to comment.