question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hey guys, I know that the first way to get the platform started is by using “docker-compose up” however what I have been trying to do is start up the individual code bases.

Now after a lot of attempts, I realized that when you start the whole stack through docker, it creates a local Mongo instance on port 27000 which is otherwise not accessible.

So if I want to use Mongo Atlas or say run the platform without docker (by individually running npm serve or np run devstart, how would I do that?

Cheers!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19

github_iconTop GitHub Comments

1reaction
AmandaDLyoncommented, Jul 9, 2020

@smaharj1 I feel like this issue needs to be separated from this discussion thread as the topics aren’t the same. Please refer to and provide a solution at #132.

Thanks buddy!

1reaction
AmandaDLyoncommented, Jul 7, 2020

@smaharj1 I finally got S3 to work. Below is the Bucket Policy I set:

{
    "Version": "2012-10-17",
    "Id": "Policy1594102782490",
    "Statement": [
        {
            "Sid": "Stmt15941012824",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:*",
            "Resource": "arn:aws:s3:::name-of-bucket"
        }
    ]
}

and this is the CORS config that I used:

<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
    <AllowedOrigin>http://localhost:5202</AllowedOrigin>
    <AllowedMethod>PUT</AllowedMethod>
    <AllowedMethod>POST</AllowedMethod>
    <AllowedMethod>DELETE</AllowedMethod>
    <MaxAgeSeconds>3000</MaxAgeSeconds>
    <ExposeHeader>x-amz-server-side-encryption</ExposeHeader>
    <ExposeHeader>x-amz-request-id</ExposeHeader>
    <ExposeHeader>x-amz-id-2</ExposeHeader>
    <AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>
Read more comments on GitHub >

github_iconTop Results From Across the Web

MongoDB: The Developer Data Platform | MongoDB
The developer data platform that provides the services and tools necessary to build distributed applications fast, at the performance and scale users demand....
Read more >
MongoDB - Wikipedia
MongoDB is a source-available cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents ...
Read more >
MongoDB Tutorial - Tutorialspoint
MongoDB is an open-source document database and leading NoSQL database. MongoDB is written in C++. This tutorial will give you great understanding on ......
Read more >
MDB: MongoDB Inc - Stock Price, Quote and News - CNBC
MongoDB Inc MDB:NASDAQ ; Close. 198.85 quote price arrow up +10.04 (+5.32%) ; Volume. 1,227,872 ; 52 week range. 135.15 - 546.73 ...
Read more >
MongoDB - GitHub
mongodb -atlas-kubernetes Public. MongoDB Atlas Kubernetes Operator - Manage your MongoDB Atlas clusters from Kubernetes. Go 84 Apache-2.0 54 1 13 Updated 8 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found