Muito obrigado. Vamos voltar à versão do Docker e ao arquivo postgres.template.yml
./launcher rebuild data
detectada arquitetura x86_64.
Garantindo que o launcher esteja atualizado
Launcher está atualizado
Parando o container antigo
+ /usr/bin/docker stop -t 600 data
data
2.0.20250129-0720: Baixando do docker-hub-china/discourse-base
Digest: sha256:d798a945ca4d31c29e5d263cdaf807bafab9b5f6737be0b1b852bea0063a3b91
Status: Imagem atualizada para registry.cn-wulanchabu.aliyuncs.com/docker-hub-china/discourse-base:2.0.20250129-0720
registry.cn-wulanchabu.aliyuncs.com/docker-hub-china/discourse-base:2.0.20250129-0720
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2025-02-06T07:02:42.768651 #1] INFO -- : Lendo de stdin
I, [2025-02-06T07:02:42.769907 #1] INFO -- : Pulo do hook missing before_code
I, [2025-02-06T07:02:42.769923 #1] INFO -- : Pulo do hook missing before_db_migrate
I, [2025-02-06T07:02:42.769933 #1] INFO -- : Pulo do hook after_code
I, [2025-02-06T07:02:42.772767 #1] INFO -- : Arquivo > /etc/service/postgres/run chmod: +x chown:
I, [2025-02-06T07:02:42.775230 #1] INFO -- : Arquivo > /etc/service/postgres/log/run chmod: +x chown:
I, [2025-02-06T07:02:42.777690 #1] INFO -- : Arquivo > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2025-02-06T07:02:42.779645 #1] INFO -- : Arquivo > /root/install_postgres chmod: +x chown:
I, [2025-02-06T07:02:42.781825 #1] INFO -- : Arquivo > /root/upgrade_postgres chmod: +x chown:
I, [2025-02-06T07:02:42.781974 #1] INFO -- : Substituindo data_directory = '/var/lib/postgresql/15/main' por data_directory = '/shared/postgres_data' em /etc/postgresql/15/main/postgresql.conf
I, [2025-02-06T07:02:42.782261 #1] INFO -- : Substituindo (?-mix:#?listen_addresses *=.*) por listen_addresses = '*' em /etc/postgresql/15/main/postgresql.conf
I, [2025-02-06T07:02:42.782427 #1] INFO -- : Substituindo (?-mix:#?synchronous_commit *=.*) por synchronous_commit = $db_synchronous_commit em /etc/postgresql/15/main/postgresql.conf
I, [2025-02-06T07:02:42.782551 #1] INFO -- : Substituindo (?-mix:#?shared_buffers *=.*) por shared_buffers = $db_shared_buffers em /etc/postgresql/15/main/postgresql.conf
I, [2025-02-06T07:02:42.782661 #1] INFO -- : Substituindo (?-mix:#?work_mem *=.*) por work_mem = $db_work_mem em /etc/postgresql/15/main/postgresql.conf
I, [2025-02-06T07:02:42.782762 #1] INFO -- : Substituindo (?-mix:#?default_text_search_config *=.*) por default_text_search_config = '$db_default_text_search_config' em /etc/postgresql/15/main/postgresql.conf
I, [2025-02-06T07:02:42.782877 #1] INFO -- : Substituindo (?-mix:#?checkpoint_segments *=.*) por checkpoint_segments = $db_checkpoint_segments em /etc/postgresql/15/main/postgresql.conf
I, [2025-02-06T07:02:42.782974 #1] INFO -- : Substituindo (?-mix:#?logging_collector *=.*) por logging_collector = $db_logging_collector em /etc/postgresql/15/main/postgresql.conf
I, [2025-02-06T07:02:42.783076 #1] INFO -- : Substituindo (?-mix:#?log_min_duration_statement *=.*) por log_min_duration_statement = $db_log_min_duration_statement em /etc/postgresql/15/main/postgresql.conf
I, [2025-02-06T07:02:42.783180 #1] INFO -- : Substituindo (?-mix:^#local +replication +postgres +peer$) por local replication postgres peer em /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-06T07:02:42.783258 #1] INFO -- : Substituindo (?-mix:^host.*all.*all.*127.*$) por host all all 0.0.0.0/0 md5 em /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-06T07:02:42.783334 #1] INFO -- : Substituindo (?-mix:^host.*all.*all.*::1\/128.*$) por host all all ::/0 md5 em /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-06T07:02:42.783416 #1] INFO -- : > if [ -f /root/install_postgres ]; then
/root/install_postgres && rm -f /root/install_postgres
elif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then
socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres já está em execução, pare o container ; exit 1
fi
initdb: aviso: habilitando autenticação "trust" para conexões locais
initdb: dica: Você pode alterar isso editando o pg_hba.conf ou usando a opção -A, ou --auth-local e --auth-host, na próxima execução do initdb.