Comments (1)
The starter kit database is configured specifically like that so that every time you do a down/up you get a clean system based only on the current (sql) files. When moving to production the setup is a bit different, most important part being that the database is independent (not running as a docker service) since this is not advisable
Here is a tutorial on how to setup your production env https://docs.subzero.cloud/production-infrastructure/aws-ecs-rds/ notice all of the services in the stack are running as docker containers (ECS) EXCEPT the database which is running in RDS.
If you still want to run your database in docker and keep the data between the reboots you can do that by mounting a directory on the host using the volumes section (see here https://stackoverflow.com/questions/41637505/how-to-persist-data-in-a-dockerized-postgres-database-using-volumes)
from postgrest-starter-kit.
Related Issues (20)
- openresty module not found HOT 3
- permission denied for schema auth for postgrest(v0.5.0.0) HOT 1
- Need guid to deploy to self hosted production env HOT 1
- Support PostgreSQL10 HOT 2
- Will this work without Docker HOT 1
- Can't get last request from chapter "API Core" in the tutorial to work HOT 9
- ERROR: for subzerostarterkit_openresty_1 Cannot start service openresty... HOT 2
- How to setup CORS in the docker HOT 1
- Milestones and releases HOT 2
- CircleCI build fails - 'import' statement unsupported HOT 6
- Duplicate CORS headers for POST requests HOT 3
- psql cannot connect if DB port changed HOT 2
- Fargate RDS Example HOT 1
- Getting Cannot find module 'C:\Projects\postGrest\subzero-base-project' HOT 5
- Bad Links in README HOT 1
- rabbitMQ stomp plugin HOT 2
- Followed local development instructions, but connection failed. HOT 1
- Question about fundamental differences between postgrest-starter-kit vs subzero-starter-kit HOT 4
- GRANT api TO anonymous, webuser? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postgrest-starter-kit.