diff --git a/packages/twenty-docker/dev/docker-compose.yml b/packages/twenty-docker/dev/docker-compose.yml index 20ed185e7b46..ac6c4030364a 100644 --- a/packages/twenty-docker/dev/docker-compose.yml +++ b/packages/twenty-docker/dev/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.9" services: twenty-dev: - build: + build: context: ../../.. dockerfile: ./packages/twenty-docker/dev/twenty-dev/Dockerfile ports: @@ -21,7 +21,7 @@ services: container_name: twenty_postgres image: twentycrm/twenty-postgres:latest volumes: - - twenty_db_data:/var/lib/postgresql/data + - twenty_db_data:/bitnami/postgresql environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres @@ -37,4 +37,3 @@ volumes: twenty_dev_node_modules_front: twenty_dev_node_modules_server: twenty_dev_node_modules_website: - diff --git a/packages/twenty-docker/prod/docker-compose.yml b/packages/twenty-docker/prod/docker-compose.yml index 810b20104a9c..bd857b53a664 100644 --- a/packages/twenty-docker/prod/docker-compose.yml +++ b/packages/twenty-docker/prod/docker-compose.yml @@ -36,7 +36,7 @@ services: db: image: twentycrm/twenty-postgres:${TAG} volumes: - - db-data:/var/lib/postgresql/data + - db-data:/bitnami/postgresql environment: POSTGRES_PASSWORD: ${POSTGRES_ADMIN_PASSWORD} #POSTGRES_USER: ${POSTGRES_USER} diff --git a/packages/twenty-docs/docs/start/self-hosting/docker-compose.mdx b/packages/twenty-docs/docs/start/self-hosting/docker-compose.mdx index 452349e5c001..60b1137ad017 100644 --- a/packages/twenty-docs/docs/start/self-hosting/docker-compose.mdx +++ b/packages/twenty-docs/docs/start/self-hosting/docker-compose.mdx @@ -86,7 +86,7 @@ services: db: image: twentycrm/twenty-postgres:${TAG} volumes: - - twenty-db-data:/var/lib/postgresql/data + - twenty-db-data:/bitnami/postgresql environment: - POSTGRES_PASSWORD=${POSTGRES_ADMIN_PASSWORD} volumes: