Skip to content

Commit d40d004

Browse files
committed
fix: align docker-compose configuration with PR description
- Change PostgreSQL port from 54320 to 5432 - Update default credentials to postgres/postgres/memu - Pin Temporal image version to 1.25.1 (from latest) - Update Temporal ports to 7233 and 8088 - Remove container_name to support multiple instances
1 parent 5d0f4e5 commit d40d004

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

docker-compose.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@ services:
22
# PostgreSQL with pgvector extension
33
postgres:
44
image: pgvector/pgvector:pg16
5-
container_name: memu-postgres
65
environment:
7-
POSTGRES_USER: ${POSTGRES_USER:-memu_user}
8-
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-memu_pass}
9-
POSTGRES_DB: ${POSTGRES_DB:-memu_db}
6+
POSTGRES_USER: ${POSTGRES_USER:-postgres}
7+
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
8+
POSTGRES_DB: ${POSTGRES_DB:-memu}
109
ports:
11-
- "54320:5432"
10+
- "5432:5432"
1211
volumes:
1312
- postgres-data:/var/lib/postgresql/data
1413
healthcheck:
15-
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-memu_user}"]
14+
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
1615
interval: 5s
1716
timeout: 5s
1817
retries: 5
@@ -25,22 +24,21 @@ services:
2524
# different schemas within the same PostgreSQL instance. Sharing the same
2625
# database can cause schema conflicts and is not recommended even for development.
2726
temporal:
28-
image: temporalio/auto-setup:latest
29-
container_name: memu-temporal
27+
image: temporalio/auto-setup:1.25.1
3028
depends_on:
3129
postgres:
3230
condition: service_healthy
3331
environment:
3432
- DB=postgresql
3533
- DB_PORT=5432
36-
- POSTGRES_USER=${POSTGRES_USER:-memu_user}
37-
- POSTGRES_PWD=${POSTGRES_PASSWORD:-memu_pass}
34+
- POSTGRES_USER=${POSTGRES_USER:-postgres}
35+
- POSTGRES_PWD=${POSTGRES_PASSWORD:-postgres}
3836
- POSTGRES_SEEDS=postgres
39-
- POSTGRES_DB=${POSTGRES_DB:-memu_db}
37+
- POSTGRES_DB=${POSTGRES_DB:-memu}
4038
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml
4139
ports:
42-
- "17233:7233" # Temporal gRPC
43-
- "18233:8233" # Temporal Web UI
40+
- "7233:7233" # Temporal gRPC
41+
- "8088:8233" # Temporal Web UI
4442
networks:
4543
- memu-network
4644

0 commit comments

Comments
 (0)