Opengist

Explore

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

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
d

docker-compose

Recently created Least recently created Recently updated Least recently updated

timmy / 🤖 Typebot Docker 部署懶人包:資料儲存 + SMTP + MinIO 一次到位

Last active 5 hours ago chatbot docker docker-compose minio postgresql redis self-hosted smtp typebot

整合 PostgreSQL、Redis、MinIO、SMTP 與環境變數設定,支援 https、自動掛載資料夾、支援 Typebot Builder & Viewer,還有一鍵重啟腳本 🚀

0 0 0 3
1 # Secret key for encryption
2 ENCRYPTION_SECRET=KPOUyIj9sZIafK2s+M61IDQOT5e6bYC6
3
4 # PostgreSQL connection string
5 DATABASE_URL=postgresql://postgres:typebot@typebot-db:5432/typebot
6
7 # Optimize Node.js memory usage
8 NODE_OPTIONS=--no-node-snapshot
9
10 # Typebot URLs

timmy / 自動安裝與設定 Docker 和 Docker Compose

Last active 5 hours ago automation bash container devops docker docker-compose linux

此腳本自動更新系統、安裝必要套件,下載並安裝 Docker 和 Docker Compose,適用於快速部署容器環境,提高開發與運維效率。

1 0 0 1
1 #!/bin/bash
2
3 # 更新系統軟體庫
4 echo "更新系統軟體庫..."
5 sudo apt-get update -y
6
7 # 安裝必要套件
8 echo "安裝必要套件:apt-transport-https、ca-certificates 和 curl..."
9 DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null