添加portainer,优化部署
This commit is contained in:
21
portainer/.env.example
Normal file
21
portainer/.env.example
Normal file
@@ -0,0 +1,21 @@
|
||||
# ===========================================
|
||||
# Portainer CE 配置文件
|
||||
# ===========================================
|
||||
|
||||
# ----- 域名与证书 -----
|
||||
# 访问域名(必填,如 docker.example.com)
|
||||
PORTAINER_DOMAIN=docker.example.com
|
||||
|
||||
# Let's Encrypt 证书邮箱(必填)
|
||||
CERTBOT_EMAIL=admin@example.com
|
||||
|
||||
# ----- Docker 镜像 -----
|
||||
# Portainer CE 镜像(默认使用 LTS 长期支持版)
|
||||
PORTAINER_IMAGE=portainer/portainer-ce:lts
|
||||
|
||||
# ----- 数据目录 -----
|
||||
# Portainer 数据目录
|
||||
PORTAINER_DATA_DIR=/var/lib/portainer
|
||||
|
||||
# 备份目录
|
||||
BACKUP_DIR=/var/backups/portainer
|
||||
Reference in New Issue
Block a user