Created
May 19, 2017 11:04
-
-
Save umq/96b9a70da97aefdd8da18db8f61521b2 to your computer and use it in GitHub Desktop.
PostgREST Sample configuration for AWS Elastic Beanstalk (Single Container Docker)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
files: | |
"/var/lib/postgrest/postgrest.conf" : | |
mode: "000644" | |
owner: root | |
group: root | |
content: | | |
db-uri = "postgres://app_user:password@postgres:5432/app_db" | |
db-schema = "public" | |
db-anon-role = "app_user" | |
jwt-secret = "changeme" | |
max-rows = 1000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AWSEBDockerrunVersion": "1", | |
"Image": {"Name": "begriffs/postgrest:v0.4.1.0"}, | |
"Ports": [{"ContainerPort": "3000"}], | |
"Volumes": [{ | |
"HostDirectory": "/var/lib/postgrest", | |
"ContainerDirectory": "/etc" | |
}], | |
"Logging": "/var/log/nginx" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment