ActivePieces template internal network
yukyolol
PROOP

2 years ago

Hello, I'm testing this template and I've noticed it uses public network, not sure if this template has been revised or not yet, but I'm wondering how I know if an image like ActivePieces supports internal networking ? I guess just test it and see it in action, but I'm opening this thread to see if someone knows a better way?

0 Replies

yukyolol
PROOP

2 years ago

na


brody
EMPLOYEE

2 years ago

deploy it, switch it over to use the private network, let the creator know how to do the same


yukyolol
PROOP

2 years ago

I did


yukyolol
PROOP

2 years ago

but it failed


yukyolol
PROOP

2 years ago

so the image goes up


yukyolol
PROOP

2 years ago

but you can't see the dashboard navigating to the url


yukyolol
PROOP

2 years ago

and in console there is some database errors so…


brody
EMPLOYEE

2 years ago

okay ill see whats up


brody
EMPLOYEE

2 years ago

alright its easy enough, first remove all database related variables and then add these back

AP_POSTGRES_URL=${{Postgres.DATABASE_PRIVATE_URL}}
AP_REDIS_URL=${{Redis.REDIS_PRIVATE_URL}}?family=6

yukyolol
PROOP

2 years ago

hey Brody I'm just checking the ENV Vars I have


yukyolol
PROOP

2 years ago

in my version but I don't see APPOSTGRESURL


yukyolol
PROOP

2 years ago

I found APREDISURL and replaced it with ${{Redis.REDISPRIVATEURL}}?family=6


yukyolol
PROOP

2 years ago

but for the POSTGRES I just have this one: DATABASEURL=${{Postgres.DATABASEURL}}


yukyolol
PROOP

2 years ago

so not sure if it's the same


brody
EMPLOYEE

2 years ago

as mentioned previously, please remove all your current database variables on the active pieces service and add the variables I gave you to the service


yukyolol
PROOP

2 years ago

Like this Brody?


yukyolol
PROOP

2 years ago

APENCRYPTIONKEY=xxxxxxxxxxxxx
APENGINEEXECUTABLEPATH=dist/packages/engine/main.js APENVIRONMENT=prod
APEXECUTIONMODE=UNSANDBOXED
APFLOWWORKERCONCURRENCY=10 APFRONTENDURL=https://${{RAILWAYPUBLICDOMAIN}} APJWTSECRET=jr4j4ydyvtayb57e0jtgu0me5f00uk06 APNODEEXECUTABLEPATH=/usr/local/bin/node
APPOSTGRESDATABASE=${{Postgres.PGDATABASE}}
APPOSTGRESHOST=${{Postgres.PGHOST}}
APPOSTGRESPASSWORD=${{Postgres.PGPASSWORD}}
APPOSTGRESPORT=${{Postgres.PGPORT}}
APPOSTGRESUSERNAME=${{Postgres.PGUSER}}
APSANDBOXRUNTIMESECONDS=600
APSIGNUPENABLED=false APTELEMETRYENABLED=false APTEMPLATESSOURCEURL=https://cloud.activepieces.com/api/v1/flow-templates
APTRIGGERDEFAULTPOLLINTERVAL=5
APWEBHOOKTIMEOUTSECONDS=30 PGHOST=${{Postgres.PGHOST}} PGPASSWORD=${{Postgres.PGPASSWORD}} PGPORT=${{Postgres.PGPORT}} PGUSER=${{Postgres.PGUSER}} PORT=80 REDISHOST=${{Redis.REDISHOST}} REDISPASSWORD=${{Redis.REDISPASSWORD}} REDISPORT=${{Redis.REDISPORT}} REDISUSER=${{Redis.REDISUSER}} REDISURL=${{Redis.REDISURL}} APPOSTGRESURL=${{Postgres.DATABASEPRIVATEURL}} APREDISURL=${{Redis.REDISPRIVATE_URL}}?family=6


brody
EMPLOYEE

2 years ago

remove all your database related variables from that service please, then add the two I gave you


yukyolol
PROOP

2 years ago

or you mean EVERYTHING related to DB?


yukyolol
PROOP

2 years ago

hmm ok


brody
EMPLOYEE

2 years ago

yes


yukyolol
PROOP

2 years ago

sorry I know I'm half dumb, but just database right?


yukyolol
PROOP

2 years ago

Nothing related to redis?


brody
EMPLOYEE

2 years ago

redis is a database


yukyolol
PROOP

2 years ago

sorry my power went off


yukyolol
PROOP

2 years ago

I removed everything related to database


yukyolol
PROOP

2 years ago

but still doesn't work


Loading...