Skip to content

Example ‐ Compose File

Nicholas Westerhausen edited this page Apr 10, 2024 · 3 revisions

Using a Compose File

You can run domain monitor with a compose file. The only import things to keep track of:

Default Value
Port 3124
Volume /app/data

Example Compose File:

services:
  dm:
    image: ghcr.io/nwesterhausen/domain-monitor:1
    ports:
      - 127.0.0.1:3124:3124/tcp
    volumes:
      - ./data:/app/data:rw
version: "3.9"

This will publish domain-monitor to the server's port at 3124 and maps ./data to the container's /app/data directory (where the config files live).

Clone this wiki locally