Hi, so i got a few stack setups but if i redeploy the image or update the image or make changes in a stack config and click deploy all the data is gone, its back to the setting the container from scratch again

here is an example of a stack i got running

version: ‘3’

#---------------------------------------------------------------------#

# Homarr - A simple, yet powerful dashboard for your server. #

#---------------------------------------------------------------------#

services:

homarr:

container_name: homarr

image: ghcr.io/ajnart/homarr:latest

restart: unless-stopped

volumes:

- /volume1/docker/app/data/configs

- /volume1/docker/app/public/icons

- /volume1/docker/homarr/icons:/app/public/icons

- /var/run/docker.sock:/var/run/docker.sock

- /volume1/docker/homarr/data:/data

ports:

- ‘7575:7575’

environment:

  • @thekrautboyB
    link
    fedilink
    English
    08 months ago

    /r/Docker but you should really just take a look at the documentation.