Closed muzzamilshaikh closed 4 days ago
To set up Twenty CRM on AWS Lightsail, follow these steps:
Create an AWS Lightsail Instance: Choose an instance type with at least 2GB RAM.
Install Docker and Docker Compose:
sudo apt-get update
sudo apt-get install docker.io
sudo apt-get install docker-compose
Clone the Repository:
git clone https://github.com/twentyhq/twenty.git
cd twenty/packages/twenty-docker
Configure Environment Variables: Create a .env
file with the necessary environment variables (e.g., PG_DATABASE_HOST
, SERVER_URL
, etc.).
Run Docker Compose:
sudo docker-compose up -d
Access the Application: Once the services are up, access the application via the instance's public IP on port 3000.
Refer to the docker-compose.yml
and Dockerfile
in the twenty-docker
directory for more details on service configurations.
/packages/twenty-docker/docker-compose.yml /packages/twenty-docker/twenty/Dockerfile /packages/twenty-docker/twenty/entrypoint.sh /packages/twenty-docker
what about the backend? how do I set up that?
I answered your question on Stack Overflow https://stackoverflow.com/a/78727948/697892
Thanks @aficiomaquinas! And sorry we're not more pro-active on helping with self-hosting. Twenty still lacks critical feature and so the team is 100% focused on feature development for now but making self-hosting really easy will become a priority later
Hi there,
I'm interested in using Twenty CRM and am trying to set it up on an AWS Lightsail instance. However, I'm fairly new to self-hosting applications and could use some guidance on the process.
Could you please point me in the right direction for setting up Twenty CRM on AWS Lightsail? Any specific resources or guides you recommend would be greatly appreciated.
Additionally, if there are any general recommendations for new users regarding instance types, resource allocation, or LAMP stack configuration on Lightsail for Twenty CRM, I'd be grateful for any insights.
I appreciate your help!