Skip to content

kldev/swarm-workstation-testing

Repository files navigation

Sample setup for test application on docker swarm

requirements

  • linux
  • sudo access
  • docker
  • docker-compose
  • docker swarm initialized

Machine setup

Setup etc hosts for local domain

192.168.5.50 nexus.hs.local.io
192.168.5.50 docker.hs.local.io
192.168.5.50 trafik.hs.local.io

192.168.5.50 wiki.hs.local.io

192.168.5.50 s3.hs.local.io
192.168.5.50 s3admin.hs.local.io
192.168.5.50 mail.hs.local.io
192.168.5.50 smtp.hs.local.io

192.168.5.50 bord.hs.local.io

Selected services

Traefik

  • create network
  • deploy
  • open with access admin / xd123

Traefik 1

Traefik 2

Nexus (docker registry)

  • deploy
  • create docker storage
  • create docker hosted on port 5000

Update insecure access in /etc/docker/daemon.json

{
  "exec-opts": ["native.cgroupdriver=systemd"],
  "log-driver": "json-file",
  "log-opts": {
    "max-size": "100m"
  },
  "storage-driver": "overlay2",
  "insecure-registries": ["docker.hs.local.io"]
}

neuxs 1

Minio (Local S3 storage)

minio 1

minio 2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages