forked from github/plane
dev: update configuration
This commit is contained in:
parent
dd760b4f38
commit
5a7b19ae78
@ -133,7 +133,8 @@ services:
|
||||
- ${NGINX_PORT}:80
|
||||
environment:
|
||||
FILE_SIZE_LIMIT: ${FILE_SIZE_LIMIT:-5242880}
|
||||
BUCKET_NAME: ${AWS_S3_BUCKET_NAME:-uploads}
|
||||
PUBLIC_BUCKET_NAME: ${AWS_PUBLIC_STORAGE_BUCKET_NAME:-uploads}
|
||||
PRIVATE_BUCKET_NAME: ${AWS_PRIVATE_STORAGE_BUCKET_NAME:-uploads-private}
|
||||
depends_on:
|
||||
- plane-web
|
||||
- plane-api
|
||||
|
@ -22,8 +22,12 @@ http {
|
||||
proxy_pass http://planedeploy:3000/spaces/;
|
||||
}
|
||||
|
||||
location /${BUCKET_NAME}/ {
|
||||
proxy_pass http://plane-minio:9000/uploads/;
|
||||
location /${PUBLIC_BUCKET_NAME}/ {
|
||||
proxy_pass http://plane-minio:9000/${PUBLIC_BUCKET_NAME}/;
|
||||
}
|
||||
|
||||
location /${PRIVATE_BUCKET_NAME}/ {
|
||||
proxy_pass http://plane-minio:9000/${PRIVATE_BUCKET_NAME}/;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user