1
submitted 1 year ago by toutons@alien.top to c/main@selfhosted.forum
you are viewing a single comment's thread
view the rest of the comments
[-] toutons@alien.top 0 points 1 year ago

As far as I could tell, you can use docker-compose to manage your running of watchtower, but it has issues working with containers that were started via docker-compose: https://github.com/containrrr/watchtower/issues/1019

[-] rocket1420@alien.top 1 points 1 year ago

I think I'm going to have to spin up a VM to understand why you're doing things the way they are, instead of using a .env file with the docker-compose.yml, or docker secrets. The built-in way to run containers is very straightforward, and it seems at first glance that you're making it a bit more complicated than it needs to be. There's no need to mess with systemctl at all, for example.

[-] rocket1420@alien.top 1 points 1 year ago

Still not following. Are you setting up containers with portainer or something? My whole docker setup is in one docker-compose.yml. I use docker compose, not docker-compose. Maybe that's the issue?

Edit: that link is about running docker in Windows 10.

this post was submitted on 27 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

504 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