21 lines
670 B
YAML
21 lines
670 B
YAML
# stack homarr
|
|
services:
|
|
homarr:
|
|
container_name: homarr
|
|
image: ghcr.io/homarr-labs/homarr:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
|
|
- /data/homarr/appdata:/appdata
|
|
environment:
|
|
- SECRET_ENCRYPTION_KEY=d0ed674ccadb41b1c86ee010456be4160d0d60466cd872fd2e1f08001c42fac6 # Générer avec: openssl rand -hex 32
|
|
ports:
|
|
- '7575:7575'
|
|
networks:
|
|
- 001-stack-npm_nginx-proxy
|
|
# Pas de ports exposés : accès uniquement via NPM
|
|
|
|
networks:
|
|
001-stack-npm_nginx-proxy:
|
|
external: true # Réseau créé par NPM
|