Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Managing two instances of the same GAE application

I have an GAE app, and I deploy it on 2 different domains, and they use separate datastores.

However, right now it is done by having two identical folders with different app.yaml configurations.

If I make changes I need to copy all files again. Is there an elegant solution for that, like having two app.yaml files in the same folder?

like image 751
Vladimir Keleshev Avatar asked Dec 07 '25 06:12

Vladimir Keleshev


2 Answers

Use a single application, with namespaces to separate data between domains.

like image 170
Nick Johnson Avatar answered Dec 09 '25 19:12

Nick Johnson


Appcfg.py has a --application command line option that is supposed to override the value in your app.yaml. Using that you could deploy the same directory to two different apps.

like image 34
Calvin Avatar answered Dec 09 '25 20:12

Calvin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!