Discussions

Ask a Question

how can we allow medstack storage SAS token to allow read from all IPs in the world

I use the following url to read some file I saved in medstack (I'm replacing sensitve date with curly brackets {vars}: https://{storage-account-name}.blob.core.windows.net/{container-name}/{blob-name}.jpg?sp=r&sv=2018-11-09&sr=c&st=2022-07-13T16%3A09%3A00Z&se={expires}&spr=https&sig={secret} This only works for allowed IPs declared in the "Allowed IP's" tab. How can I open this to everyone with the link?
ANSWERED

CORS error when trying to use Azure Storage PUT request from frontend application

I'm trying to do a PUT to azure with axios on React: ``` const url = 'https://{MY-STORAGE-NAME}.blob.core.windows.net/cognito-test-file-container/mateo?sp=racwdl&sv=2018-11-09&sr=c&st=2022-07-04T19%3A52%3A00Z&se=2022-07-08T12%3A00%3A00Z&sip={MY-LOCAL-IP}&spr=https&sig={SECRET}%3D'; const response = await axios.put(url, imagefile?.files?.[0]); ``` But then I get the following CORS error, is there any way I can allow CORS for my local development or any recommended workarounds to PUT a JPG in azure storage? ```Access to XMLHttpRequest at 'https://{MY-STORAGE-NAME}.blob.core.windows.net/cognito-test-file-container/mateo?sp=racwdl&sv=2018-11-09&sr=c&st=2022-07-04T19%3A52%3A00Z&se=2022-07-08T12%3A00%3A00Z&sip={MY-LOCAL-IP}&spr=https&sig={SECRET}%3D' from origin 'https://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.```
ANSWERED

Test Environment Before Going Live

Hi, is there a way to set up a test environment before going to production? I am migrating from Heroku and have recently containerized my application, I want to make sure nothing was broken during the process and do a test run of how MedStack works.
ANSWERED

Backup Recovery Concerns

So there are 3 main concerns - How does my MedStack account handle backup/restore? Does my account have disaster recovery? Do you handle restore requests on weekends and how long does it take to restore? Is there a way I can get a file manager on my account?
ANSWERED

Specific medstack access

We want to remove access to our developers to database and storage but want to leave them access to the control panel to supervise the process of deployment. We noticed that you provide 4 roles: Owner, Technical, Billing, and Compliance but none of them does not meet our expectations. Is it possible to configure medstack in a way to achieve it?

How do I apply rolling updates to a service?

We are in the process of migrating our application from a monolith to a micro-services approach and will need the ability to apply updates to service containers in a rolling fashion. Are there any plans to expose update related flags in the service configuration? Most likely we would require these flags: --update-delay --update-parallelism --update-failure-action --stop-grace-period And it would be nice to also have access to these: --update-max-failure-ratio --update-order For now, can you provide us with the default values for these flags? Any update on this would be appreciated it since it will most likely be a hard requirement for new deployments in the near future and would like to make sure that the values used would be appropriate for us. Thank you!
ANSWERED

Deleted Data

How does Medstack ensure that deleted data is in fact deleted by the underlying cloud provider is there a time interval after which this occurs.
ANSWERED

Change mongodb default volume mapping

By default, the MongoDB image persists its database under a volume located at `/data/db`. Any idea how I can change this via Medstack control? This is easy enough to configure in a docker-compose file, as represented below. With the following configuration, the MongoDB database gets stored under `/mongodb/data` instead of `/data/db`. I'd like to match this behavior in my MedStack cluster. ``` mongo: container_name: mongo-server image: mongo environment: MONGO_INITDB_ROOT_USERNAME: **** MONGO_INITDB_ROOT_PASSWORD: **** volumes: - /mongodb/data:/data/db ports: - 27017:27017 ``` References: https://www.mongodb.com/compatibility/docker https://hub.docker.com/_/mongo
ANSWERED

Performance Statistics

Is there any way to access Docker nodes, services container performance metrics like CPU & memory utilization, storage consumption, or I/O other than though the dashboard ??
ANSWERED

Connect to a Redis container

How can I get my app service to communicate with my redis service? I currently am setting the `REDIS_URL` in my application to `redis://host.docker.internal:6379/0`, but I can't seem to connect.