homarr docker install /data (everything gets lost after a reboot) #1750
Unanswered
aspieboy
asked this question in
Questions & Answers
Replies: 1 comment 2 replies
-
Hi aspieboy, services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
ports: # Maps ports from the container to the host
- "7575:7575" # Exposes container's port 7575 to the same port on the host
volumes:
- config_homarr:/app/data/configs
- data_homarr:/data
- icons_homarr:/app/public/icons
- /var/run/docker.sock:/var/run/docker.sock
volumes:
config_homarr:
data_homarr:
icons_homarr: let me know if it worked. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
so im not sure were to put this i have never used github before so please forgive me. but i'm having a installer issue trying to install homarr in my lab it keeps saying that im missing the line /data in my compose file and it gives me the porper compose file and i run it and it still gives me this error. im running docker desktop on windows 10 with portainer installed i even have a 2nd instance of docker on ubuntu and i still face the same issue and have zero idea what to do
the above images is what it keeps telling me to add to my file i run that compose file in a new instance and i still have this issue
Beta Was this translation helpful? Give feedback.
All reactions