Menjalankan Mikrotik di Docker

From Corat Coret
Revision as of 08:08, 22 June 2024 by Johan Efendi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

File: docker-compose.yaml

version: "3"

services:

  routerOsDocker:
    image: dharma007/mikrotik-cloud:latest
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    ports:
      - 28291:8291
      - 20443:443
      - 20022:22
      - 28088:80

Ports:

28291 Winbox
20443 HTTPS
20088 HTML Service
20022 SSH

Bisa ditambahkan sesuai keperluan