Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

docker postgres can't connect when used in a mono repo

default discord avatar
magicsponlast year
4

hello,


This is all of the strange!


I've been playing around with payloadcms, using postgres (via docker). This has been working fine.


I've created a new project, this time using a mono repo. All the payload stuff sits in apps/cms.


For some reason I am no longer able to connect to my postgres db.


The exact same code works when I move the

cms

directory to another location on my machine.


https://github.com/magicspon/next-payloadcms-mono
  • default discord avatar
    icomadlast year

    I'm not gonna be of any help to your problem but I get no errors cloning and running you repo

  • default discord avatar
    magicsponlast year

    spooky.. so it works as expected?



    you should be able to go to

    http://localhost:3030/admin

    I get:



    Sorted... turned my computer off and on again!

  • default discord avatar
    zephury.last year

    Shoulda just listened to tech support 🤣

  • default discord avatar
    mvarendorfflast year

    Was worth a shot 😄

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.