Compose-Library/gravity-dns-only.compose.yaml.txt
2025-01-25 18:01:48 +01:00

17 lines
369 B
Text

services:
gravity:
container_name: ${GRVHOSTNAME}
hostname: ${GRVHOSTNAME}
image: ghcr.io/beryju/gravity:stable
restart: unless-stopped
network_mode: host
volumes:
- ${DATA_DIR}:/data
environment:
BOOTSTRAP_ROLES: dns
logging:
driver: json-file
options:
max-size: 10m
max-file: "3"
networks: {}