mirror of https://github.com/status-im/codimd.git
Merge pull request #1357 from hackmdio/fix/pcheck-related-issues
fix pcheck not parsed url correctly
This commit is contained in:
commit
76f4c001d1
|
@ -15,7 +15,7 @@ RUN set -xe && \
|
|||
yarn.lock webpack.prod.js webpack.htmlexport.js webpack.dev.js webpack.common.js \
|
||||
config.json.example README.md CONTRIBUTING.md AUTHORS
|
||||
|
||||
FROM hackmdio/runtime:1.0.4
|
||||
FROM hackmdio/runtime:1.0.6
|
||||
USER hackmd
|
||||
WORKDIR /home/hackmd/app
|
||||
COPY --chown=1500:1500 --from=BUILD /home/hackmd/app .
|
||||
|
|
|
@ -10,6 +10,8 @@ services:
|
|||
- "database-data:/var/lib/postgresql/data"
|
||||
restart: always
|
||||
codimd:
|
||||
# you can use image or custom build below
|
||||
# image: nabo.codimd.dev/hackmdio/hackmd:1.4.0
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: ./deployments/Dockerfile
|
||||
|
|
|
@ -8,7 +8,7 @@ if [[ "$#" -gt 0 ]]; then
|
|||
fi
|
||||
|
||||
# check database and redis is ready
|
||||
pcheck -constr "$CMD_DB_URL"
|
||||
pcheck -env CMD_DB_URL
|
||||
|
||||
# run DB migrate
|
||||
NEED_MIGRATE=${CMD_AUTO_MIGRATE:=true}
|
||||
|
|
Loading…
Reference in New Issue