新增docker-compose.yml文件,定义应用服务及其配置

This commit is contained in:
远野千束 2024-11-23 22:31:06 +08:00
parent fd835e9406
commit 291314de93

12
docker-compose.yml Normal file
View File

@ -0,0 +1,12 @@
version: '3.8'
services:
app:
image: git.liteyuki.icu/bot/app:latest
ports:
- "20216:20216"
environment:
- TZ=Asia/Shanghai
volumes:
- .:/liteyukibot
command: [ "python", "main.py" ]