---version:"3"services:homer:image:b4bz/homer:latestcontainer_name:homernetworks:-proxylabels:traefik.enable:true# Enable Traefik reverse proxy for the Traefik dashboard.volumes:-/home/$USER/.config/homer:/www/assets-"${BAK_CFG_DIR}/homer/config.yml:/www/assets/config.yml"-"${BAK_CFG_DIR}/icons:/www/assets/manicons"-"${BAK_CFG_DIR}/wallpapers:/www/assets/wallpapers"ports:-888:8080environment:-UID=${PUID}-GID=${PGID}-TZ=${TZ}restart:unless-stoppednetworks:proxy:# rename this to your custom docker network.external:true
#!/bin/sh# Creating directories to hold config files etcmkdir-p/home/$USER/.config/homer
touch"${BAK_CFG_DIR}"/homer/config.yml
mkdir-p"${BAK_CFG_DIR}"/homer/manicons
# deploying containerdockercomposeup-d
# DON'T DO THIS IF YOU DON'T WANT CUSTOM THEME# cloning custom theme for homergitclonehttps://github.com/WalkxCode/Homer-Theme.git/home/$USER/Homer-Theme
sudochmod-R777/home/$USER/Homer-Theme
# deleting default config.sudochmod-R777/home/$USER/.config/homer
find/home/$USER/.config/homer/*!-name'manicons'!-name'wallpapers'!-name'config.yml'-typed,f-execrm-rf"{}"+
# moving custom theme files to homer dirmv/home/$USER/Homer-Theme/assets/config.yml/home/$USER/Homer-Theme/assets/og-config.yml
mv/home/$USER/Homer-Theme/assets/*/home/$USER/.config/homer/
# removing the custom theme git dirrm-rf/home/$USER/Homer-Theme