Outils pour utilisateurs

Outils du site


linux:gravity

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

linux:gravity [2025/02/14 08:09] – créée rootlinux:gravity [2025/03/07 09:02] (Version actuelle) root
Ligne 1: Ligne 1:
 ====== Gravity ====== ====== Gravity ======
 +===== Installation =====
 +  - Installer [[linux:docker|Docker]] 
 +  - Créer un fichier docker compose: <code bash>nano docker-compose.yml</code> avec le contenu: <file yaml docker-compose.yml>---
 +version: "3.4"
  
 +services:
 +  gravity:
 +    # Important for this to be static and unique
 +    hostname: gravity1
 +    image: ghcr.io/beryju/gravity:stable
 +    restart: unless-stopped
 +    network_mode: host
 +    volumes:
 +      - data:/data
 +    # environment:
 +    #   LOG_LEVEL: info
 +    # The default log level of info logs DHCP and DNS queries, so ensure
 +    # the logs aren't filling up the disk
 +    logging:
 +      driver: json-file
 +      options:
 +        max-size: "10m"
 +        max-file: "3"
 +
 +volumes:
 +  data:
 +    driver: local</file>
  
 ===== Q&A ===== ===== Q&A =====
linux/gravity.1739520541.txt.gz · Dernière modification : de root