Open muzzamilshaikh opened 4 months ago
Ensure AWS LightSail instance's firewall allows traffic on port 3000. Check security group settings to allow inbound traffic on port 3000. Verify Docker Compose setup in /packages/twenty-docker/docker-compose.yml
and entrypoint script in /packages/twenty-docker/twenty/entrypoint.sh
for any misconfigurations. Access the application via http://<your-lightsail-instance-public-ip>:3000
.
/packages/twenty-docker/docker-compose.yml /packages/twenty-docker/twenty/Dockerfile /packages/twenty-docker/twenty/entrypoint.sh /packages/twenty-postgres/docker/docker-compose.yml /packages/twenty-website/src/content/developers/self-hosting/docker-compose.mdx
i'm facing the same problem and when inspect it it's the backend url have two slashes before /graphql
@Freebios could you please check for the // what could be causing the confusion? Thanks!
Thank you for raising this issue! Could you provide more details about your setup? I attempted to replicate the issue by running a Lightsail instance on Ubuntu, and I was able to successfully ping localhost
and curl localhost:3000
without any problems.
It seems like there might be some confusion with the ping
command. Unfortunately, ping
doesn't support specifying a port number. Perhaps that's what's causing the issue. Let me know if that helps!
@Freebios I meant the "it's the backend url have two slashes before /graphql", do you know where this comes from?
(the reason I'm keeping this issue open is it's not the first time I hear about an issue with "two slashes" but I'm not sure what we have to fix)
I clone this project in AWS lightSail but when I run "sudo docker ps -a" the following containers are up and running you can see them below how can I see the running application in browser after this ? i also try to run the ping localhost:3000 but it say's name or service is not known please help
IMAGE COMMAND NAMES CREATED STATUS
twentycrm/twenty:latest "/app/entrypoint.sh …" 10 minutes ago Created
twenty-worker-1 twentycrm/twenty:latest "/app/entrypoint.sh …" 10 minutes ago Up 10 minutes (health twenty-server-1 twentycrm/twenty-postgres:latest "/opt/bitnami/script…" 10 minutes ago Up 10 minutes (health