摘要:
package main import ( "context" "log" "os" "github.com/jackc/pgx/v5/pgxpool" ) const DB_SOURCE = "postgresql://root:aaa@localhost:5432/zimple_bank?ssl
阅读全文
posted @ 2023-12-10 22:19
ZhangZhihuiAAA
阅读(15)
推荐(0)
摘要:
CMD The CMD instruction has three forms: CMD ["executable","param1","param2"] (exec form, this is the preferred form) CMD ["param1","param2"] (as defa
阅读全文
posted @ 2023-12-10 21:19
ZhangZhihuiAAA
阅读(37)
推荐(0)
摘要:
Docker compose file: services: postgres: image: postgres:16-alpine environment: - POSTGRES_USER=root - POSTGRES_PASSWORD=aaa - POSTGRES_DB=zimple_bank
阅读全文
posted @ 2023-12-10 17:17
ZhangZhihuiAAA
阅读(16)
推荐(0)
摘要:
Got below error when createdb: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory This is bec
阅读全文
posted @ 2023-12-10 17:15
ZhangZhihuiAAA
阅读(851)
推荐(0)