ActivePieces template internal network

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?
No description
Solution:
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
AP_POSTGRES_URL=${{Postgres.DATABASE_PRIVATE_URL}}
AP_REDIS_URL=${{Redis.REDIS_PRIVATE_URL}}?family=6
...
Jump to solution
14 Replies
Percy
Percy8mo ago
Project ID: N/A
ENT3I <3
ENT3I <38mo ago
na
Brody
Brody8mo ago
deploy it, switch it over to use the private network, let the creator know how to do the same
ENT3I <3
ENT3I <38mo ago
I did but it failed so the image goes up but you can't see the dashboard navigating to the url and in console there is some database errors so...
Brody
Brody8mo ago
okay ill see whats up
Solution
Brody
Brody8mo 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
AP_POSTGRES_URL=${{Postgres.DATABASE_PRIVATE_URL}}
AP_REDIS_URL=${{Redis.REDIS_PRIVATE_URL}}?family=6
ENT3I <3
ENT3I <38mo ago
hey Brody I'm just checking the ENV Vars I have in my version but I don't see AP_POSTGRES_URL I found AP_REDIS_URL and replaced it with ${{Redis.REDIS_PRIVATE_URL}}?family=6 but for the POSTGRES I just have this one: DATABASE_URL=${{Postgres.DATABASE_URL}} so not sure if it's the same
Brody
Brody8mo 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
ENT3I <3
ENT3I <38mo ago
Like this Brody? AP_ENCRYPTION_KEY=xxxxxxxxxxxxx AP_ENGINE_EXECUTABLE_PATH=dist/packages/engine/main.js AP_ENVIRONMENT=prod AP_EXECUTION_MODE=UNSANDBOXED AP_FLOW_WORKER_CONCURRENCY=10 AP_FRONTEND_URL=https://${{RAILWAY_PUBLIC_DOMAIN}} AP_JWT_SECRET=jr4j4ydyvtayb57e0jtgu0me5f00uk06 AP_NODE_EXECUTABLE_PATH=/usr/local/bin/node AP_POSTGRES_DATABASE=${{Postgres.PGDATABASE}} AP_POSTGRES_HOST=${{Postgres.PGHOST}} AP_POSTGRES_PASSWORD=${{Postgres.PGPASSWORD}} AP_POSTGRES_PORT=${{Postgres.PGPORT}} AP_POSTGRES_USERNAME=${{Postgres.PGUSER}} AP_SANDBOX_RUN_TIME_SECONDS=600 AP_SIGN_UP_ENABLED=false AP_TELEMETRY_ENABLED=false AP_TEMPLATES_SOURCE_URL=https://cloud.activepieces.com/api/v1/flow-templates AP_TRIGGER_DEFAULT_POLL_INTERVAL=5 AP_WEBHOOK_TIMEOUT_SECONDS=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}} REDIS_URL=${{Redis.REDIS_URL}} AP_POSTGRES_URL=${{Postgres.DATABASE_PRIVATE_URL}} AP_REDIS_URL=${{Redis.REDIS_PRIVATE_URL}}?family=6
Brody
Brody8mo ago
remove all your database related variables from that service please, then add the two I gave you
ENT3I <3
ENT3I <38mo ago
or you mean EVERYTHING related to DB? hmm ok
Brody
Brody8mo ago
yes
ENT3I <3
ENT3I <38mo ago
sorry I know I'm half dumb, but just database right? Nothing related to redis?
Brody
Brody8mo ago
redis is a database
Want results from more Discord servers?
Add your server