Files
homelab/docker-compose/ntp/docker-compose.yaml
T
Rodney Osodo f5051c6028 chore(docker): prefix images with docker.io
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
2026-06-02 16:00:10 +03:00

18 lines
462 B
YAML

services:
ntp:
container_name: ntp
image: docker.io/cturra/ntp:latest
restart: unless-stopped
networks:
- homelab-network
ports:
- 123:123/udp
environment:
- NTP_SERVERS=time.cloudflare.com,time1.google.com,time2.google.com,time3.google.com
- LOG_LEVEL=0
- TZ=Africa/Nairobi
- NOCLIENTLOG=true
# - ENABLE_NTS=true # Google NTS doesn't like this
security_opt:
- no-new-privileges:true