Frankie
Frankie
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
You can close this, I am going to try Twenty at a later date
33 replies
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
Here is my env:
SERVER_URL="http://proxy.domain:3020"
REACT_APP_SERVER_BASE_URL="http://proxy.domain:3020"

# Use `openssl rand -base64 32` for each secret
ACCESS_TOKEN_SECRET=<secret>
LOGIN_TOKEN_SECRET=<secret>
REFRESH_TOKEN_SECRET=<secret>
FILE_TOKEN_SECRET=<secret>

# Dev mode
SIGN_IN_PREFILLED="false"

STORAGE_TYPE="local"

# DB
PG_DATABASE_URL="postgres://postgres:<password>@postgres:5432/twenty"
MESSAGE_QUEUE_TYPE="pg-boss"

# Redis
REDIS_HOST="redis"
REDIS_PORT="6379"
REDIS_USERNAME="<redis-container-name>"
SERVER_URL="http://proxy.domain:3020"
REACT_APP_SERVER_BASE_URL="http://proxy.domain:3020"

# Use `openssl rand -base64 32` for each secret
ACCESS_TOKEN_SECRET=<secret>
LOGIN_TOKEN_SECRET=<secret>
REFRESH_TOKEN_SECRET=<secret>
FILE_TOKEN_SECRET=<secret>

# Dev mode
SIGN_IN_PREFILLED="false"

STORAGE_TYPE="local"

# DB
PG_DATABASE_URL="postgres://postgres:<password>@postgres:5432/twenty"
MESSAGE_QUEUE_TYPE="pg-boss"

# Redis
REDIS_HOST="redis"
REDIS_PORT="6379"
REDIS_USERNAME="<redis-container-name>"
33 replies
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
33 replies
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
It's a connection timed out error to the graphql route
33 replies
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
No worries, still couldn't get the instance working with the Cloudflare Tunnel, if you see the above messages I said the instance only works using the SERVER_URL and the direct IP to the server, not the proxied domain. When setup to the proxied domain the instance just shows a blank page with a console error of not being able to reach the graphql route.
33 replies
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
The only working configuration is when I set SERVER_URL to the IP of the server. It does not work when I set it to the proxy URL.
SERVER_URL=https://proxy.domain:3000
REACT_APP_SERVER_BASE_URL=https://proxy.domain:3000
FRONT_BASE_URL=https://proxy.domain:3001
SERVER_URL=https://proxy.domain:3000
REACT_APP_SERVER_BASE_URL=https://proxy.domain:3000
FRONT_BASE_URL=https://proxy.domain:3001
33 replies
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
I will try that thank you!
33 replies
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
Wondering if I need to have REACT_APP_SERVER_BASE_URL or FRONT_BASE_URL set to something.
33 replies
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
The page just shows up blank with a post error for connection timeout to the graphql route.
33 replies
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
Yes, thank you. I am having trouble figuring out what to set the SERVER_URL variable to using a Cloudflare Tunnel reverse proxy.
33 replies
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
No worries, can get some assistance with my setup?
33 replies
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
@charles scammer in this help post
33 replies
TTwenty
Created by Frankie on 9/15/2024 in #❓︱help
Help with VPS self hosted instance
@ɃØĦɆᵾS this person is a scammer, blocked and reported
33 replies