this post was submitted on 17 Nov 2023
0 points (50.0% liked)

Self-Hosted Main

515 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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:

top 1 comments
sorted by: hot top controversial new old
[–] thekrautboy@alien.top 0 points 11 months ago

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