fuliai commited on
Commit
3593c44
1 Parent(s): aab03cb

Update run.sh

Browse files
Files changed (1) hide show
  1. run.sh +0 -7
run.sh CHANGED
@@ -1,11 +1,4 @@
1
  #!/bin/bash
2
-
3
- # 确保以 postgres 用户身份运行
4
- if [ "$(id -u)" -ne 1000 ]; then
5
- echo "切换到 UID 为 1000 的 postgres 用户运行"
6
- exec gosu postgres "$0" "$@"
7
- fi
8
-
9
  # 启动 PostgreSQL 服务
10
  docker-entrypoint.sh postgres &
11
 
 
1
  #!/bin/bash
 
 
 
 
 
 
 
2
  # 启动 PostgreSQL 服务
3
  docker-entrypoint.sh postgres &
4