docker run -d \ -e POSTGRES_PASSWORD=mysecretpassword \ -e PGDATA=/var/lib/postgresql/data/pgdata \ -v /data/pg:/var/lib/postgresql/data \ postgres:14 CREATE USER bbdev SUPERUSER; CREATE DATABASE bbdev;
go install github.com/bytebase/air@87187cc apt install gcc PG_URL=postgresql://bbdev@localhost/bbdev air -c scripts/.air.toml
|