Source

version: '3.7'

services:
  gotify:
    image: gotify/server
    ports:
      - "50111:80"
    healthcheck:
      test: curl -f http://localhost:80/health || exit 1
      interval: 1m
      timeout: 10s
      retries: 3
      start_period: 60s
    volumes:
      - /mnt/docker/data/gotify:/app/data
    environment:
      - TZ="Etc/UTC"