Menjalankan Mikrotik di Docker

From Corat Coret
Revision as of 08:03, 22 June 2024 by Johan Efendi (talk | contribs) (Created page with " File: docker-compose.yaml <syntaxhighlight lang="docker"> version: "3" services: routerOsDocker: image: dharma007/mikrotik-cloud:latest restart: unless-stopped cap_add: - NET_ADMIN devices: - /dev/net/tun ports: - 8291:8291 - 443:443 - 20022:22 - 8088:80 </syntaxhighlight> Ports: * 8291 Winbox * 443 HTTPS * 80 HTML Service * 22 SSH Bisa ditambahkan sesuai keperluan")
(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:
      - 8291:8291
      - 443:443
      - 20022:22
      - 8088:80

Ports:

  • 8291 Winbox
  • 443 HTTPS
  • 80 HTML Service
  • 22 SSH

Bisa ditambahkan sesuai keperluan