Dateien nach "install-homarr-on-portainer" hochladen

This commit is contained in:
M_Viper 2024-02-12 21:08:35 +00:00
parent 4459bdf666
commit 803bb0d6c4
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
version: "3" # Specifies the version of the Docker Compose file format
services: # Defines the services (containers) that make up your application
homarr: # Name of the first service
container_name: homarr # Sets a custom container name
image: ghcr.io/ajnart/homarr:latest # Specifies the Docker image to use, using the latest version
restart: unless-stopped # Configures the restart policy (container restarts unless manually stopped)
volumes: # Maps volumes from the host to the container
- /DATA/AppData/homarr/configs:/app/data/configs # Maps host directory for configs to the container's directory
- /DATA/AppData/homarr/icons:/app/public/icons # Maps host directory for icons to the container's directory
ports: # Maps ports from the container to the host
- "7575:7575" # Exposes container's port 7575 to the same port on the host