Skip to content

Commit cc0615d

Browse files
authored
Increase SHM size for PostgreSQL service in CI
1 parent 672831b commit cc0615d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ jobs:
3232
# Provide the password for postgres
3333
env:
3434
POSTGRES_PASSWORD: postgres
35-
# Set health checks to wait until postgres has started
35+
# Set health checks to wait until postgres has started & increase SHM size
3636
options: >-
3737
--health-cmd pg_isready
3838
--health-interval 10s
3939
--health-timeout 5s
4040
--health-retries 5
41+
--shm-size=1gb
4142
ports:
4243
# Maps tcp port 5432 on service container to the host
4344
- 5432:5432

0 commit comments

Comments
 (0)