xml数据->min(pg)
xml->tick->min->db
postgres://postgres:[email protected]:25432/postgres?sslmode=disablepgMin=postgresql://postgres:[email protected]:20032/postgres?sslmode=disable xmlSftp=172.19.129.98/22/root/Gdqh2018 xmlSftpPath=/mnt/future_xml/ go run main.go -s 20201119
docker build -t haifengat/go_xml_min:`date +%Y%m%d` . && \
docker push haifengat/go_xml_min:`date +%Y%m%d`
version: "3.7"
services:
go_xml_min:
image: haifengat/go_xml_min:20201122
container_name: go_xml_min
restart: always
environment:
- TZ=Asia/Shanghai
- pgMin=postgresql://postgres:[email protected]:20032/postgres?sslmode=disable
# sftp 配置,/xml中没有则会从sftp下载
- xmlSftp=172.19.129.98/22/root/12345
- xmlSftpPath=/mnt/future_xml/
volumes:
# xml文件路径
- /mnt/future_xml:/xml
Content type
Image
Digest
Size
9.3 MB
Last updated
almost 6 years ago
docker pull haifengat/go_xml_min