| 1 | services: |
| 2 | mysql: |
| 3 | image: mysql:latest |
| 4 | container_name: mysql |
| 5 | environment: |
| 6 | MYSQL_ROOT_PASSWORD: your_root_password |
| 7 | MYSQL_DATABASE: name_database |
| 8 | MYSQL_USER: your_user |
| 9 | MYSQL_PASSWORD: your_password |
| 10 | TZ: Europe/Rome |
emanuelegori
Joined 2 years ago
| 1 | services: |
| 2 | wordpress: |
| 3 | image: wordpress:latest |
| 4 | container_name: wordpress |
| 5 | healthcheck: |
| 6 | test: curl -f http://localhost:80/ || exit 1 |
| 7 | # ports: |
| 8 | # - 8000:80 |
| 9 | depends_on: |
| 10 | redis: |
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.
| 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 |
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.
| 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: |
| 1 | services: |
| 2 | portainer: |
| 3 | image: portainer/portainer-ce:latest |
| 4 | container_name: portainer |
| 5 | volumes: |
| 6 | - ./data:/data |
| 7 | - /var/run/docker.sock:/var/run/docker.sock |
| 8 | ports: |
| 9 | - 9443:9443 |
| 10 | restart: always |
A simple HTTP-based pub-sub notification service. With ntfy, you can send notifications to your phone or desktop via scripts from any computer.
| 1 | services: |
| 2 | ntfy: |
| 3 | image: binwiederhier/ntfy:latest |
| 4 | container_name: ntfy |
| 5 | command: |
| 6 | - serve |
| 7 | environment: |
| 8 | - TZ=Europe/Rome |
| 9 | - NTFY_BASE_URL=https://ntfy.emanuelegori.uno |
| 10 | - NTFY_CACHE_FILE=/var/lib/ntfy/cache.db |
Duplicati is a free, open source, backup client that securely stores encrypted, incremental, compressed backups on cloud storage services and remote file servers
| 1 | services: |
| 2 | duplicati: |
| 3 | image: lscr.io/linuxserver/duplicati:latest |
| 4 | container_name: duplicati |
| 5 | environment: |
| 6 | - PUID=1000 |
| 7 | - PGID=1000 |
| 8 | - TZ=Europe/Rome |
| 9 | - CLI_ARGS= #optional |
| 10 | - SETTINGS_ENCRYPTION_KEY= xxxxxxxxxx |