Last updated on March 19, 2024 pm
1 2
| mkdir -p ~/app/MicroBin && cd ~/app/MicroBin && nano docker-compose.yml sudo docker-compose up -d
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| version: '3.5' services: microbin: image: danielszabo99/microbin:latest container_name: microbin restart: unless-stopped environment: - TZ=Asia/Shanghai - MICROBIN_HIGHLIGHTSYNTAX=true - MICROBIN_HASH_IDS=true - MICROBIN_EDITABLE=false - MICROBIN_PRIVATE=false - MICROBIN_HIDE_FOOTER=true - MICROBIN_HELP=true - MICROBIN_HIDE_HEADER=true - MICROBIN_HIDE_LOGO=true - MICROBIN_NO_ETERNAL_PASTA=false - MICROBIN_NO_FILE_UPLOAD=true - MICROBIN_NO_LISTING=true - MICROBIN_THREADS=1 - MICROBIN_TITLE=free-bin - MICROBIN_PUBLIC_PATH=https://paste.limour.top/ - MICROBIN_QR=true ports: - 18083:8080 volumes: - ./microbin-data:/app/pasta_data
|
【转载】Docker搭建MicroBin
https://hexo.limour.top/Docker-da-jian-MicroBin