Docker部署DashMachine仪表板

sudo apt update
sudo apt upgrade -y

sudo apt install –only-upgrade snapd
sudo snap refresh snapd

snapd 2.63 from Canonical? refreshed
sudo systemctl restart snapd
sudo snap install docker

docker 24.0.5 from Canonical✓ installed
root@C20240802138154:~# docker -v
Docker version 24.0.5, build ced0996
curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-uname -suname -m -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

root@C20240802138154:~# docker-compose –version
docker-compose version 1.23.2, build 1110ad01

mkdir -p /data/dashmachine/data && cd /data/dashmachine
nano docker-compose.yml
version: ‘3’
services:
dashmachine:
container_name: dashmachine
ports:
– 6952:5000
volumes:
– /data/dashmachine/data:/dashmachine/dashmachine/user_data
restart: always
image: rmountjoy/dashmachine:latest

docker-compose up -d
docker ps
root@C20240802138154:/data/dashmachine# docker exec -it beeb178ff9b6 /bin/bash
root@beeb178ff9b6:/dashmachine# ls
Dockerfile default_config.ini readme_settings.md screenshot3.png
License.md migrations requirements.txt screenshot4.png
README.md pull_request_template.md run.py template_apps
pycache readme_cards.md screenshot1.png update_message.md
dashmachine readme_data_sources.md screenshot2.png wsgi.py

docker rm -rf $(docker ps -aq)
Config.ini:
[baidu]
prefix = https://
url = http://www.baidu.com
icon = static/images/apps/gogs.png
sidebar_icon = static/images/apps/gogs.png
description = Gogs is a painless self-hosted Git service.
open_in = new_tab

图片[1]-Docker部署DashMachine仪表板-晴天生活分享日志
图片[2]-Docker部署DashMachine仪表板-晴天生活分享日志
------本页内容已结束,喜欢请分享------

感谢您的来访,获取更多精彩文章请收藏本站。

© 版权声明
THE END
喜欢就支持一下吧
点赞14 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容