Opengist

Explore

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

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
a

aapanel

Recently created Least recently created Recently updated Least recently updated

timmy / 📦 aaPanel Docker 快速安裝腳本:資料持久化一次搞定!

Last active 5 hours ago aapanel bash-script docker docker-compose-alt persistent-volume self-hosting web-hosting

用 Docker 部署 aaPanel,先初始化再掛載 www、etc、var、usr,輕鬆保留設定與網站資料,支援 host 模式與自動重啟 🚀

1 0 0 2
1 #!/bin/bash
2
3 # 建立 aapanel 目錄並進入
4 mkdir -p aapanel && cd aapanel
5
6 # 下載 aaPanel Docker 映像
7 docker pull aapanel/aapanel:lib
8
9 # 啟動 aaPanel 容器
10 docker run -d --rm --name aapanel aapanel/aapanel:lib