新增wiki命令文件
This commit is contained in:
34
raw/Home Office/🟠用Docker安装Homarr.md
Normal file
34
raw/Home Office/🟠用Docker安装Homarr.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
title:
|
||||
source:
|
||||
author: shenwei
|
||||
published:
|
||||
created:
|
||||
description:
|
||||
tags: [docker, homarr]
|
||||
---
|
||||
|
||||
|
||||
#homarr #docker
|
||||
|
||||
docker-compose.yml
|
||||
|
||||
``` yaml
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
homarr:
|
||||
image: ghcr.io/homarr-labs/homarr
|
||||
container_name: homarr
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "7575:7575"
|
||||
volumes:
|
||||
- /home/shenwei/Docker/homarr/appdata:/appdata
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- SECRET_ENCRYPTION_KEY=4a418def4be700be26672aa57a4c3d4b94abd2cf97021b5c4ecd3c1644c1f071
|
||||
- ALL_PROXY=socks5://172.24.0.1:10808
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user