Skip to content

Instantly share code, notes, and snippets.

View gitex's full-sized avatar
🏠
Working from home

Evgeniy Dorovatovskiy gitex

🏠
Working from home
  • R7
  • Kazachstan
  • 21:35 (UTC +05:00)
View GitHub Profile
@gitex
gitex / gist:518714348e021a7f843322f7223d3c2b
Last active July 19, 2021 20:40
PANIC: could not locate a valid checkpoint record
docker run -it -v /pgdata:/var/lib/postgres/data postgres:10 /bin/bash
gosu postgres pg_resetwal -f /var/lib/postgres/data
upstream backend {
server wearespb.bnvt.ru;
}
upstream frontend {
server 127.0.0.1:3000;
}
server {
listen 80;
server_name localhost;