remove watchtower
This commit is contained in:
@@ -12,8 +12,6 @@ services:
|
|||||||
- TS_HOSTNAME=ollama-pd05wd
|
- TS_HOSTNAME=ollama-pd05wd
|
||||||
env_file:
|
env_file:
|
||||||
- .ts-env
|
- .ts-env
|
||||||
labels:
|
|
||||||
- "com.centurylinklabs.watchtower.scope=ollama"
|
|
||||||
network_mode: service:ollama
|
network_mode: service:ollama
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
@@ -21,30 +19,11 @@ services:
|
|||||||
devices:
|
devices:
|
||||||
- /dev/net/tun:/dev/net/tun
|
- /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:
|
ollama:
|
||||||
image: ollama/ollama:latest
|
image: ollama/ollama:latest
|
||||||
container_name: ollama
|
container_name: ollama
|
||||||
environment:
|
environment:
|
||||||
- OLLAMA_KEEP_ALIVE=24h
|
- OLLAMA_KEEP_ALIVE=24h
|
||||||
labels:
|
|
||||||
- "com.centurylinklabs.watchtower.scope=ollama"
|
|
||||||
restart: always
|
restart: always
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ services:
|
|||||||
- TS_SERVE_CONFIG=/config/serve.json
|
- TS_SERVE_CONFIG=/config/serve.json
|
||||||
env_file:
|
env_file:
|
||||||
- .ts-env
|
- .ts-env
|
||||||
labels:
|
|
||||||
- "com.centurylinklabs.watchtower.scope=stable-diffusion"
|
|
||||||
network_mode: service:stable-diffusion
|
network_mode: service:stable-diffusion
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
@@ -23,23 +21,6 @@ services:
|
|||||||
devices:
|
devices:
|
||||||
- /dev/net/tun:/dev/net/tun
|
- /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:
|
stable-diffusion:
|
||||||
image: ghcr.io/ai-dock/stable-diffusion-webui:latest-cuda
|
image: ghcr.io/ai-dock/stable-diffusion-webui:latest-cuda
|
||||||
container_name: stable-diffusion
|
container_name: stable-diffusion
|
||||||
@@ -49,8 +30,6 @@ services:
|
|||||||
- WEB_ENABLE_AUTH=false
|
- WEB_ENABLE_AUTH=false
|
||||||
- PORT="17860"
|
- PORT="17860"
|
||||||
- SUPERVISOR_NO_AUTOSTART=jupyter,syncthing
|
- SUPERVISOR_NO_AUTOSTART=jupyter,syncthing
|
||||||
labels:
|
|
||||||
- "com.centurylinklabs.watchtower.scope=stable-diffusion"
|
|
||||||
restart: always
|
restart: always
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
Reference in New Issue
Block a user