mariushosting 已修改 6 hours ago. 還原成這個修訂版本
1 file changed, 18 insertions
homarrASUSTOR.yaml(檔案已創建)
| @@ -0,0 +1,18 @@ | |||
| 1 | + | services: | |
| 2 | + | homarr: | |
| 3 | + | container_name: Homarr | |
| 4 | + | image: ghcr.io/homarr-labs/homarr:latest | |
| 5 | + | healthcheck: | |
| 6 | + | test: ["CMD-SHELL", "nc -z 127.0.0.1 7575 || exit 1"] | |
| 7 | + | interval: 10s | |
| 8 | + | timeout: 5s | |
| 9 | + | retries: 3 | |
| 10 | + | start_period: 90s | |
| 11 | + | volumes: | |
| 12 | + | - /var/run/docker.sock:/var/run/docker.sock | |
| 13 | + | - /volume1/Docker/homarr:/appdata:rw | |
| 14 | + | environment: | |
| 15 | + | SECRET_ENCRYPTION_KEY: 698AA11A202C30643DD1EB22C14559DEDD2CAF010967549F9A52E0C8D6F2535F | |
| 16 | + | ports: | |
| 17 | + | - 7575:7575 | |
| 18 | + | restart: on-failure:5 | |
上一頁
下一頁