fusio icon indicating copy to clipboard operation
fusio copied to clipboard

Using Fusio on Google Cloud Platform

Open LaserStony opened this issue 6 years ago • 9 comments

I was thinking of using Fusio with google Cloud Platform. Can you plz tell me How I can upload A Fusio Installment to Google Cloud App Engine and use a Google Cloud SQL as Database on it.. and also installing Javascript-V8 on it? Thanx!!

LaserStony avatar Jul 21 '18 08:07 LaserStony

Hi, I think through the gcloud tool it should be possible to upload files to the GCP. In your connections you then only need to specify the correct google cloud SQL database (its important that this is a Mysql and not PostgreSQL database). As alternative you could also try to use our Fusio docker image (https://hub.docker.com/r/fusio/fusio/) this contains currently not the latest version but I will update it.

chriskapp avatar Jul 21 '18 10:07 chriskapp

@chriskapp Please do it ASAP. Also, is it Possible to Install V8 on Google Cloud App Engine through Docker as Well?

LaserStony avatar Jul 21 '18 11:07 LaserStony

@LaserStony FYI I have tagged the 1.3.0 docker image which you can use at GCP. Regarding the V8 engine previous versions of the docker image contained the V8 PHP extension but unfortunately the developer has abandoned the project so we have remove it also from the docker image. You can still use it but we may search for an alternative implementation.

chriskapp avatar Jul 22 '18 06:07 chriskapp

hmmm... Not having V8 is going to be troubling as to now we Might have to create un-necessary Files for performing simple tasks... sigh*... still, thanks for the Docker Image... Much Appreciated...

LaserStony avatar Jul 23 '18 05:07 LaserStony

Ok, instead of V8 you can also use now the PHP-Sandbox action where you can write simple PHP code through the web interface, basically it is the same as V8 only that you need to write PHP instead of Javascript.

chriskapp avatar Jul 23 '18 06:07 chriskapp

ooo... @chriskapp Does it Require any installation?

LaserStony avatar Jul 23 '18 18:07 LaserStony

no it comes with the default installation, so you can use it out of the box. It looks basically like:

action_php_sandbox

chriskapp avatar Jul 23 '18 20:07 chriskapp

Ooo... It's Exactly What I was looking for. It will be a bit weirder to use PHP instead of JS but, this is Highly scale-able... No Installation, Sounds Just Perfect. Thanks a-lot... !!!

LaserStony avatar Jul 26 '18 06:07 LaserStony

Regarding the JS topic I have created the issue #181 where we can discuss the future of the V8 action. If there is enough demand I maybe find an alternative solution but for now I think the PHP-Sandbox action works great.

chriskapp avatar Jul 26 '18 20:07 chriskapp