Skip to content

Commit a1712b7

Browse files
author
Roman Iuvshyn
authored
Fix postgres container freeze on stop (eclipse-che#7043)
1 parent 4c63eea commit a1712b7

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

dockerfiles/init/modules/compose/templates/docker-compose.yml.erb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ services:
110110
- CHE_POSTGRES_USERNAME=<%= scope.lookupvar('postgres::che_pg_username') %>
111111
- CHE_POSTGRES_PASSWORD=<%= scope.lookupvar('postgres::che_pg_password') %>
112112
- CHE_POSTGRES_DATABASE=<%= scope.lookupvar('postgres::che_pg_database') %>
113-
114-
115113
volumes:
116114
- '<%= scope.lookupvar('che::che_instance') -%>/data/postgres:/var/lib/pgsql/data'
117115
- '<%= scope.lookupvar('che::che_instance') -%>/config/postgres/init-che-user.sh:/var/lib/pgsql/init-che-user.sh'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

33
$(dirname "$0")/init-che-user.sh
4-
run-postgresql
4+
exec run-postgresql

0 commit comments

Comments
 (0)