Commit c93d617 committed Mar 25, 2024 · 1 / 5
1 parent 6032de1 commit c93d617 Copy full SHA for c93d617
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 46
46
image : postgres
47
47
options : >-
48
48
--health-cmd pg_isready
49
- --health-interval 10s
49
+ --health-interval 5s
50
50
--health-timeout 5s
51
51
--health-retries 5
52
52
--name my_postgres_container
64
64
sed -i -e 's/shared_buffers = 128MB/shared_buffers = 2GB/' /var/lib/postgresql/data/postgresql.conf
65
65
EOF
66
66
- run : docker restart --time 0 my_postgres_container
67
- - run : sleep 5
67
+ - run : sleep 10
68
68
- run : docker exec my_postgres_container psql -c 'SHOW max_connections;'
69
69
- name : setup repository
70
70
uses : actions/checkout@v4
Original file line number Diff line number Diff line change 52
52
image : postgres
53
53
options : >-
54
54
--health-cmd pg_isready
55
- --health-interval 10s
55
+ --health-interval 5s
56
56
--health-timeout 5s
57
57
--health-retries 5
58
58
--name my_postgres_container
70
70
sed -i -e 's/shared_buffers = 128MB/shared_buffers = 2GB/' /var/lib/postgresql/data/postgresql.conf
71
71
EOF
72
72
- run : docker restart --time 0 my_postgres_container
73
- - run : sleep 5
73
+ - run : sleep 10
74
74
- run : docker ps
75
75
- run : docker exec my_postgres_container psql -c 'SHOW max_connections;'
76
76
- name : setup repository
You can’t perform that action at this time.
0 commit comments