Skip to content

Install on Digital Ocean Droplet or App? #3053

Answered by wolfgangwalther
osseonews asked this question in Q&A
Discussion options

You must be logged in to vote
docker run -p 8080:80

This will expose the port 80 inside the container to port 8080 outside.

-e PGRST_SERVER_PORT="8080"

This will make postgrest listen on port 8080 inside the container.

Your ports don't match up.

Do this instead:

docker run -p 8080:3000 -e PGRST_DB_URI="$URI" -e PGRST_DB_ANON_ROLE="anon" -d postgrest/postgrest

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@wolfgangwalther
Comment options

Answer selected by osseonews
@osseonews
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants