Skip to content

Commit 5056cbe

Browse files
authored
Fix docker-compose dev stack for Apple silicon (#432)
The docker-compose dev setup is broken under Apple silicon, starting the stack fails with the following error. Switching to a different docker image fixes the issue.
1 parent 571b02e commit 5056cbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/docker-compose.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ x-common-env-pg:
2525

2626
services:
2727
main:
28-
image: kubernetes/pause
28+
image: gcr.io/google_containers/pause:3.2
2929
ports:
3030
- 6432
3131

@@ -64,7 +64,7 @@ services:
6464
<<: *common-env-pg
6565
POSTGRES_INITDB_ARGS: --auth-local=md5 --auth-host=md5 --auth=md5
6666
PGPORT: 10432
67-
command: ["postgres", "-p", "5432", "-c", "shared_preload_libraries=pg_stat_statements", "-c", "pg_stat_statements.track=all", "-c", "pg_stat_statements.max=100000"]
67+
command: ["postgres", "-p", "10432", "-c", "shared_preload_libraries=pg_stat_statements", "-c", "pg_stat_statements.track=all", "-c", "pg_stat_statements.max=100000"]
6868

6969
toxiproxy:
7070
build: .

0 commit comments

Comments
 (0)