text 泊坞窗,撰写

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 泊坞窗,撰写相关的知识,希望对你有一定的参考价值。

Apply migrations

Use k8s port forwarder to forward sandbox or production database.
Set environment variables
PGHOST
PGUSER
PGPASSWORD
PGPORT
Run docker-compose build migrate
Run docker-compose run migrate

Test migrations locally

Run docker-compose build test
Run docker-compose run test
Run docker-compose down
Run dev environment

Run docker-compose build dev
Run docker-compose up -d dev
Run docker-compose run psql
Run docker-compose down
ps: If docker-compose down doesn't work, it might need an extra -v to remove what's left.

Example (apply to sandbox or production)

export PGHOST=localhost 
export PGUSER=root 
export PGPASSWORD={get-me-from-1p} 
export PGPORT="{whatever-you-used-for-the-k8s-forwarder}"

docker-compose build migrate
docker-compose run migrate up

以上是关于text 泊坞窗,撰写的主要内容,如果未能解决你的问题,请参考以下文章

markdown 泊坞窗,撰写

text 代理泊坞窗注册表

text 剧本 - 泊坞窗安装

text 有用的单泊坞窗命令

text Ubuntu的詹金斯 - 泊坞窗

text 在泊坞窗中开启一个msyql