---
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

```

