162 liens privés
Impressive monitoring tool.
Raise alerts with complete configuration file to get informed through mail / etc
When they say "about no configuration", it is true.
It's a "tool" you take and use.
Just amazingly simple and pure efficiency.
Bravo.
Note : it will not help you understand what happened two weeks ago. It's not here to help you who did what three years ago, or what has happened last month with this or that. It 's a tool to monitor a platform health.
Just discovered that one (thanks for sharing, Nick).
- installation : one line.
- basic usage : as simple as to write
lazydocker
. Very intuitive. - advanced usage : check the video here to get started : https://www.youtube.com/watch?v=NICqQPxwJWw&feature=youtu.be
Great tool
So damn useful for testing and mounting environment very quickly.
Try it if you're familiar with docker / docker-compose / docker swarm.
Simple enough https deployment :
https config to deploy a shaarli ?
docker-compose up -d
me this :
version: '3'
services:
portainer:
image: portainer/portainer
container_name: portainer
command: -H unix:///var/run/docker.sock
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./portainer/data:/data
ports:
- "9000:9000"
environment:
- VIRTUAL_HOST=administration.yourdomain.com
- VIRTUAL_PORT=9000
- LETSENCRYPT_HOST=administration.yourdomain.com
- LETSENCRYPT_EMAIL=myself@yourdomain.com
# proxy
proxy:
image: jwilder/nginx-proxy
container_name: proxy
ports:
- "80:80"
- "443:443"
restart: always
volumes:
- ./proxy/etc/nginx/certs:/etc/nginx/certs:rw
- ./proxy/etc/nginx/vhost.d:/etc/nginx/vhost.d
- ./proxy/usr/share/nginx/html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
labels:
- com.github.jrce pour le registre b.letsencrypt_nginx_proxy_companion.docker_gen
# lets encrypt for ssl
letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
container_name: letsencrypt
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./proxy/etc/nginx/certs:/etc/nginx/certs:rw
- ./proxy/etc/nginx/vhost.d:/etc/nginx/vhost.d
- ./proxy/usr/share/nginx/html:/usr/share/nginx/html
environment:
- DEFAULT_EMAIL=myself@yourdomain.com
- NGINX_PROXY_CONTAINER=proxy
###############################################################################
#
# S H A A R L I
#
# https://shaarli.yourdomain.com
#
###############################################################################
shaarli:
container_name: shaarli
image: shaarli/shaarli:master
volumes:
- ./shaarli/cache:/var/www/shaarli/cache
- ./shaarli/data:/var/www/shaarli/data
- ./shaarli/images:/var/www/shaarli/images
environment:
- VIRTUAL_HOST=links.yourdomain.com
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=links.yourdomain.com
- LETSENCRYPT_EMAIL=myself@yourdomain.com.com
NGINX as a front end reverse proxy for docker containers
I want to destroy all my images AND all my containers (bye bye EVERYTHING, be warned). This is DEFINITIVE.
#!/bin/bash
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)