---
services:
  enshrouded:
    image: mornedhels/enshrouded-server:latest
    container_name: enshrouded
    hostname: enshrouded
    restart: unless-stopped
    stop_grace_period: 90s
    env_file:
      - ../secrets/enshrouded.env
    ports:
      - "15636-15637:15636-15637/udp"
    volumes:
      - "${DOCKER_STORAGE_PATH}/enshrouded:/opt/enshrouded"
    environment:
      - SERVER_NAME=DominikJirkaLukas
      # - SERVER_PASSWORD=
      - SERVER_SLOT_COUNT=3
      - UPDATE_CRON=*/30 * * * *
      - PUID=${PUID}
      - PGID=${PGID}