Skip to content

A slightly modified version of docker-compose-ed Netmaker stack.

Notifications You must be signed in to change notification settings

likeablob/docker-netmaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-netmaker

A slightly modified version of docker-compose-ed Netmaker stack.

Modifications:

  • Stick to Traefik instead of Caddy, to make things kept in a single yaml file and customizable through .env.
  • DuckDNS integration:
    • DNS-01 challenge with Traefik (acme.dnschallenge.provider=duckdns)
    • Update A records with linuxservers/duckdns
  • HTTPS on the non standard port (:2443) (mainly for hosting other services at :443).
  • No HTTP (:80) required.
  • Bind mounts (./data, ./letsencrypt) for better portability.
  • Log rotation.

Setup

  • Ensure you have opened 2443/tcp and 51821-51830/udp on your server.
$ cp .env.example .env
$ editor .env

$ rsync -avP ../docker-netmaker/ remote:~/.netmaker
$ ssh remote
$ docker network create traefik
$ cd ~/.netmaker && docker compose up -d

Then the resources will be available at;

Tips: You may want to comment out the following lines to secure the dashboard during the setup.

- traefik.http.middlewares.secure-ips-ui.ipwhitelist.sourcerange=192.168.0.0/16,172.16.0.0/12,10.0.0.0/8
- traefik.http.routers.netmaker-ui.middlewares=secure-ips-ui@docker

Upstream

About

A slightly modified version of docker-compose-ed Netmaker stack.

Topics

Resources

Stars

Watchers

Forks

Languages