Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 46ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
1

1Panel

Recently created Least recently created Recently updated Least recently updated
wojack

wojack / 1P面板安装配置Sun-Panel的代码备份

Last active 2 months ago 1Panel Compose Docker

1Panel面板安装sun-panel的Docker Compose代码备份

0 0 1
1 networks:
2 1panel-network:
3 external: true
4 services:
5 localsun-panel:
6 container_name: ${CONTAINER_NAME}
7 deploy:
8 resources:
9 limits:
10 cpus: ${CPUS}
wojack

wojack / sync-1panel-appstore.sh

Last active 2 months ago 1Panel App-Store Shell

1Panel 第三方 App Store 同步更新脚本

0 0 2
1 #!/bin/bash
2 # 1Panel 第三方应用商店同步脚本(轻量优化版)
3 # 仅同步应用,不执行镜像替换
4
5 # 启用严格模式:遇到错误、未定义变量、管道错误时立即退出
6 set -euo pipefail
7
8 # 设置字段分隔符,防止文件名含空格或换行符时出错
9 IFS=$'\n\t'