-
Notifications
You must be signed in to change notification settings - Fork 24
Deploy with Podman
cworld1 edited this page Feb 13, 2023
·
1 revision
sudo apt-get -y install podman
不同系统安装命令可能略有差异,详见:Podman Installation
pip3 install podman-compose
如果你正在使用 Fedora (>=f31),可以使用如下命令安装:
sudo dnf install podman-compose
git clone https://github.com/luoshuijs/TGPaimonBot.git
cd TGPaimonBot
cp .env.example .env
cp docker-compose.gen.yml docker-compose.yml
# MySQL
DB_HOST=mysql
DB_PORT=3306
DB_USERNAME=root
DB_PASSWORD="root"
DB_DATABASE=paimon
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=""
以及 bot token 等参数。详见 Env Settings
podman-compose -f docker-compose.yml up -d
-
Deploy with Container