Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fail #9615

Open
xoomp opened this issue Jan 14, 2025 · 1 comment
Open

Installation fail #9615

xoomp opened this issue Jan 14, 2025 · 1 comment
Assignees

Comments

@xoomp
Copy link

xoomp commented Jan 14, 2025

Bug Description

The two brackets are in the wrong position, which causes the installation to fail. Here is my modified diff:

${PG_DATABASE_HOST:-db:5432}
----------------Two places were changed to this---->
${PG_DATABASE_HOST:-db}:5432

--- a/packages/twenty-docker/docker-compose.yml
+++ b/packages/twenty-docker/docker-compose.yml
@@ -1,4 +1,5 @@
-name: twenty
+version: "3.9"
+# name: twenty
 
 services:
   change-vol-ownership:
@@ -21,7 +22,7 @@ services:
       - "3000:3000"
     environment:
       PORT: 3000
-      PG_DATABASE_URL: postgres://${PGUSER_SUPERUSER:-postgres}:${PGPASSWORD_SUPERUSER:-postgres}@${PG_DATABASE_HOST:-db:5432}/default
+      PG_DATABASE_URL: postgres://${PGUSER_SUPERUSER:-postgres}:${PGPASSWORD_SUPERUSER:-postgres}@${PG_DATABASE_HOST:-db}:5432/default
       SERVER_URL: ${SERVER_URL}
       REDIS_URL: ${REDIS_URL:-redis://redis:6379}
 
@@ -47,7 +48,7 @@ services:
     image: twentycrm/twenty:${TAG:-latest}
     command: ["yarn", "worker:prod"]
     environment:
-      PG_DATABASE_URL: postgres://${PGUSER_SUPERUSER:-postgres}:${PGPASSWORD_SUPERUSER:-postgres}@${PG_DATABASE_HOST:-db:5432}/default
+      PG_DATABASE_URL: postgres://${PGUSER_SUPERUSER:-postgres}:${PGPASSWORD_SUPERUSER:-postgres}@${PG_DATABASE_HOST:-db}:5432/default

thanks

@Bonapara Bonapara changed the title Ex: In DarkMode, a blank square appears in bottom right corner while scrolling Installation fail Jan 15, 2025
@FelixMalfait
Copy link
Member

Yes great point thanks! Would you mind raising a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants