All gists

emanuelegori
Last active 3 months ago watchtower

Watchtower è un tool che permette di aggiornare automaticamente i container Docker in esecuzione. Monitora le immagini su Docker Hub o altri registri e, se rileva una nuova versione, riavvia il container con l'immagine aggiornata.

0 0 1
1 services:
2 watchtower:
3 image: containrrr/watchtower:latest
4 container_name: watchtower
5 hostname: watchtower
6 mem_limit: 256m
7 mem_reservation: 128m
8 cpu_shares: 256
9 security_opt:
10 - no-new-privileges=true
emanuelegori
Last active 3 months ago docker docker-compose manager nginx npm proxy

Expose web services on your network · Free SSL with Let's Encrypt · Designed with security in mind · Perfect for home networks: By creating a custom Docker network, you don't need to publish ports for your upstream services to all of the Docker host's interfaces.

0 0 1
1 secrets:
2 # Secrets are single-line text files where the sole content is the secret
3 # Paths in this example assume that secrets are kept in local folder called ".secrets"
4 DB_ROOT_PWD:
5 file: .secrets/db_root_pwd.txt
6 MYSQL_PWD:
7 file: .secrets/mysql_pwd.txt
8
9 services:
10 npm: