Skip to content

Commit

Permalink
fix: update docker-compose database volumes (twentyhq#4677)
Browse files Browse the repository at this point in the history
  • Loading branch information
Freebios authored Mar 27, 2024
1 parent 53a7196 commit 3cc23fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions packages/twenty-docker/dev/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.9"
services:
twenty-dev:
build:
build:
context: ../../..
dockerfile: ./packages/twenty-docker/dev/twenty-dev/Dockerfile
ports:
Expand All @@ -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
Expand All @@ -37,4 +37,3 @@ volumes:
twenty_dev_node_modules_front:
twenty_dev_node_modules_server:
twenty_dev_node_modules_website:

2 changes: 1 addition & 1 deletion packages/twenty-docker/prod/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3cc23fb

Please sign in to comment.