schema
schema
TTwenty
Created by schema on 3/17/2025 in #❓︱help
Setting up Twenty CRM on Unraid with Nginx Proxy Manager: Issues & Solutions
Create .env and docker-compose.yml with the contents above Run docker-compose: bash cd /mnt/user/appdata/twenty docker-compose up -d Configure Nginx Proxy Manager with WebSocket support Access your Twenty CRM at your configured domain I hope this helps someone else! Let me know if you have any questions.
6 replies
TTwenty
Created by schema on 3/17/2025 in #❓︱help
Setting up Twenty CRM on Unraid with Nginx Proxy Manager: Issues & Solutions
Installation Steps Create directories: bash mkdir -p /mnt/user/appdata/twenty/postgres_data mkdir -p /mnt/user/appdata/twenty/redis_data mkdir -p /mnt/user/appdata/twenty/storage_data mkdir -p /mnt/user/appdata/twenty/docker_data chmod 777 /mnt/user/appdata/twenty/postgres_data chmod 777 /mnt/user/appdata/twenty/redis_data chmod 777 /mnt/user/appdata/twenty/storage_data chmod 777 /mnt/user/appdata/twenty/docker_data Set permissions appropriately in each folder, i used 777 just for installation purposes. i will change it after to something more suitable. this is not security advice. just to get it working.
6 replies
TTwenty
Created by schema on 3/17/2025 in #❓︱help
Setting up Twenty CRM on Unraid with Nginx Proxy Manager: Issues & Solutions
6 replies
TTwenty
Created by schema on 3/17/2025 in #❓︱help
Setting up Twenty CRM on Unraid with Nginx Proxy Manager: Issues & Solutions
My Working Configuration Files Here are my sanitized working configuration files if anyone needs them, change to suit your enviroment. burt it gives a decent stepping stone.
6 replies
TTwenty
Created by schema on 3/17/2025 in #❓︱help
Setting up Twenty CRM on Unraid with Nginx Proxy Manager: Issues & Solutions
How I Fixed It 1. Fixed Environment Variables I changed the hardcoded URLs in docker-compose.yml to use environment variables: Changed this: SERVER_URL: http://192.168.x.x:3000 FRONT_BASE_URL: http://192.168.x.x:3000 To this: SERVER_URL: ${SERVER_URL} FRONT_BASE_URL: ${FRONT_BASE_URL} Then in my .env file: SERVER_URL=https://my-crm-domain.com FRONT_BASE_URL=https://my-crm-domain.com 2. Added WebSocket Support to Nginx Proxy Manager In the Custom Nginx Configuration section of my proxy host, I added: Basic headers proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; WebSocket support (critical for Twenty CRM) proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; Extended timeouts for API operations proxy_connect_timeout 120s; proxy_send_timeout 120s; proxy_read_timeout 120s; Additional headers for better compatibility proxy_buffering off; proxy_set_header X-Forwarded-Host $host; #3. Fixed Container References I ensured that internal container references used service names (db, redis) while external URLs used the actual domain.
6 replies