Commit 376f3410 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[docker] fix shm_size for postgres

This should prevent memory errors when uploading large lists.
parent 54789493
Pipeline #3402 passed with stage
in 92 minutes and 14 seconds
...@@ -21,6 +21,7 @@ services: ...@@ -21,6 +21,7 @@ services:
postgres: postgres:
#image: 'postgres:latest' #image: 'postgres:latest'
image: 'postgres:14' image: 'postgres:14'
shm_size: 1g # https://stackoverflow.com/a/56754077
network_mode: host network_mode: host
#command: ["postgres", "-c", "log_statement=all"] #command: ["postgres", "-c", "log_statement=all"]
#ports: #ports:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment