1 Star 0 Fork 0

elec/blockchain-explorer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
postgres-Dockerfile 889 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Copyright Tecnalia Research & Innovation (https://www.tecnalia.com)
# Copyright Tecnalia Blockchain LAB
#
# SPDX-License-Identifier: Apache-2.0
FROM postgres:10.4-alpine
# default database name for HLF Explorer db connection
ENV DATABASE_DATABASE fabricexplorer
# default username for HLF Explorer db connection
ENV DATABASE_USERNAME hppoc
# default password for HLF Explorer db connection
ENV DATABASE_PASSWORD password
RUN apk update \
&& apk add jq \
&& apk add nodejs \
&& apk add sudo \
&& rm -rf /var/cache/apk/*
WORKDIR /opt
# Copy files
COPY app/persistence/fabric/postgreSQL/db/explorerpg.sql /opt/explorerpg.sql
COPY app/persistence/fabric/postgreSQL/db/updatepg.sql /opt/updatepg.sql
COPY app/persistence/fabric/postgreSQL/db/createdb.sh /docker-entrypoint-initdb.d/createdb.sh
COPY app/persistence/fabric/postgreSQL/db/processenv.js /opt/processenv.js
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/limits/blockchain-explorer.git
[email protected]:limits/blockchain-explorer.git
limits
blockchain-explorer
blockchain-explorer
main

搜索帮助