feat: add Watchtower to automate other docker containers update
This commit is contained in:
parent
c3ab38f34f
commit
b7def4c359
@ -33,6 +33,9 @@ Google Photos self-hosted alternative.
|
||||
### [Vaultwarden](https://github.com/dani-garcia/vaultwarden)
|
||||
Password Manager, Bitwarden-compatible server written in Rust.
|
||||
|
||||
### [Watchtower](https://github.com/containrrr/watchtower)
|
||||
Watchtower automates updating your docker containers to the latest version.
|
||||
|
||||
### [Homepage](./homepage/src/index.html)
|
||||
A simple homepage with links to all the services.
|
||||
|
||||
|
17
compose.yml
17
compose.yml
@ -174,6 +174,7 @@ services:
|
||||
- "traefik.http.routers.homepage.tls.certresolver=myresolver"
|
||||
- "traefik.http.services.homepage.loadbalancer.server.port=80"
|
||||
|
||||
# Vaultwarden is a password manager which is compatible with Bitwarden clients.
|
||||
vaultwarden:
|
||||
container_name: vaultwarden
|
||||
image: vaultwarden/server:latest
|
||||
@ -196,3 +197,19 @@ services:
|
||||
- "traefik.http.routers.vaultwarden.tls=true"
|
||||
- "traefik.http.routers.vaultwarden.tls.certresolver=myresolver"
|
||||
- "traefik.http.services.vaultwarden.loadbalancer.server.port=80"
|
||||
|
||||
# Watchtower is a process for automating Docker container base image updates.
|
||||
watchtower:
|
||||
container_name: watchtower
|
||||
image: containrrr/watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 2048M
|
||||
cpus: '0.5'
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
command: --interval 86400 --cleanup
|
||||
|
@ -101,7 +101,7 @@ services:
|
||||
|
||||
database:
|
||||
container_name: immich_postgres
|
||||
image: tensorchord/pgvecto-rs:pg14-v0.1.11@sha256:0335a1a22f8c5dd1b697f14f079934f5152eaaa216c09b61e293be285491f8ee
|
||||
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
|
Loading…
Reference in New Issue
Block a user