remove watchtower
This commit is contained in:
@@ -12,8 +12,6 @@ services:
|
||||
- TS_HOSTNAME=ollama-pd05wd
|
||||
env_file:
|
||||
- .ts-env
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.scope=ollama"
|
||||
network_mode: service:ollama
|
||||
restart: always
|
||||
volumes:
|
||||
@@ -21,30 +19,11 @@ services:
|
||||
devices:
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
|
||||
watchtower:
|
||||
image: ghcr.io/containrrr/watchtower:latest
|
||||
container_name: ollama-watchtower
|
||||
command: --scope ollama
|
||||
environment:
|
||||
- TZ=America/Chicago
|
||||
- WATCHTOWER_HTTP_API_METRICS=true
|
||||
- WATCHTOWER_HTTP_API_TOKEN=token
|
||||
- WATCHTOWER_CLEANUP=true
|
||||
- WATCHTOWER_POLL_INTERVAL=3600
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.scope=ollama"
|
||||
network_mode: service:ollama
|
||||
restart: always
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
ollama:
|
||||
image: ollama/ollama:latest
|
||||
container_name: ollama
|
||||
environment:
|
||||
- OLLAMA_KEEP_ALIVE=24h
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.scope=ollama"
|
||||
restart: always
|
||||
deploy:
|
||||
resources:
|
||||
|
||||
@@ -13,8 +13,6 @@ services:
|
||||
- TS_SERVE_CONFIG=/config/serve.json
|
||||
env_file:
|
||||
- .ts-env
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.scope=stable-diffusion"
|
||||
network_mode: service:stable-diffusion
|
||||
restart: always
|
||||
volumes:
|
||||
@@ -23,23 +21,6 @@ services:
|
||||
devices:
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
|
||||
watchtower:
|
||||
image: ghcr.io/containrrr/watchtower:latest
|
||||
container_name: stable-diffusion-watchtower
|
||||
command: --scope stable-diffusion
|
||||
environment:
|
||||
- TZ=America/Chicago
|
||||
- WATCHTOWER_HTTP_API_METRICS=true
|
||||
- WATCHTOWER_HTTP_API_TOKEN=token
|
||||
- WATCHTOWER_CLEANUP=true
|
||||
- WATCHTOWER_POLL_INTERVAL=3600
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.scope=stable-diffusion"
|
||||
network_mode: service:stable-diffusion
|
||||
restart: always
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
stable-diffusion:
|
||||
image: ghcr.io/ai-dock/stable-diffusion-webui:latest-cuda
|
||||
container_name: stable-diffusion
|
||||
@@ -49,8 +30,6 @@ services:
|
||||
- WEB_ENABLE_AUTH=false
|
||||
- PORT="17860"
|
||||
- SUPERVISOR_NO_AUTOSTART=jupyter,syncthing
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.scope=stable-diffusion"
|
||||
restart: always
|
||||
deploy:
|
||||
resources:
|
||||
|
||||
Reference in New Issue
Block a user