You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 7, 2023. It is now read-only.
version: '3'services:
server:
image: postgrest/postgrestports:
- "3000:3000"links:
- db:dbenvironment:
PGRST_DB_URI: postgres://app_user:password@db:5432/app_dbPGRST_DB_SCHEMA: publicPGRST_DB_ANON_ROLE: app_user #In production this role should not be the same as the one used for the connectiondepends_on:
- dbdb:
image: postgresports:
- "5432:5432"environment:
POSTGRES_DB: app_dbPOSTGRES_USER: app_userPOSTGRES_PASSWORD: password# Uncomment this if you want to persist the data.# volumes:# - "./pgdata:/var/lib/postgresql/data"