api_upload: where a Pie has been uploaded to.ĭocker cp protopie_api_1:/app/upload ].If you want create a backup, see the docker volumes below for what you need to copy. It's needed to check for available disk space and create backups in case of unexpected issues. Uploaded Pies with images and database data would use the most disk space. If the versions are mismatched, requests from web will return a response with an error message. Therefore, make sure that web and api versions have a matching minor version (not patch version). These are coupled tightly but isolated as a service. enterprise-web-1.0.2 / enterprise-api-1.1.2 (X)Īs you might have noticed from the docker-compose services name, web sends requests to api to get data and shows in page.Hence, in case of version downgrading, api might raise an error due to a migrated db scheme. Because each major or minor version updates may contain changes in the db scheme, every time api checks it while bootstrapping and api will try to migrate db if a version update contains changes in the db scheme. Note that in case of api, ProtoPie Enterprise may not work well with version downgrading. So if you are on windows, recommend that using Docker for Windows with hyper-v to run linux container on windows. Servers : http: # ex : update: For Windows Execute below command to run the containers in the background via docker-compose. ![]() Once you have edited the aforementioned files, you are ready to up the docker containers in docker-compose.yml and run ProtoPie Enterprise. db.env that has two parts of configurations root user and protopie db for initial db to create user and database. The xxx.env files represent environment variables in the application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |