Sign inSign up

natoascode/olympiad

By natoascode

Updated about 5 years ago

Olympiad DevSecOps Edge-Cloud toolbox image for Docker Desktop testing ~Clouds for the soul~

Image
1

260

natoascode/olympiad repository overview

Olympiad DevSecOps Toolbox - (ALPHA RELEASE!)

Use this image with Docker Desktop for quick standup deployments

The OFFICIAL Olympiad toolbox image for production development lives here => https://hub.docker.com/repository/docker/natoascode/olympiad-dev

This container image runs the official Olympiad DevSecOps Edge-Cloud toolbox. This image is especially used to manage volumes and port management between applications and load balancers.

By default, this is a Docker in Docker image that is also designed to be a leader node if Swarmed that can be scaled out with the Olympiad-Dev image.

To deploy primary Olympiad server management applications, Portainer and Pihole, run the command below.

Deploy Olympiad Server Management Suite (run from inside container): 'sh /olympiad/olympiad.sh'

Navigate to the following for Portainer and Pihole access:
Portainer - http://localhost:9050
Pihole - http://localhost:9051

Port availability is configured for Grafana, Loki, Promtail and GitLab as well!


To create a more custom tool suite to begin building with Olympiad, create your own "olympiad.sh" file - the contents of the ".sh" file can be found below to be used as a template.

(build inside of of Olympiad container, tools like nano allow the script to be copy pasted inside of the container)
olympiad.sh:

#!/bin/sh
apk update
apk upgrade
docker network create -d bridge --subnet=172.20.0.0/24 Inner-Athena
docker run -itd --privileged -p 53:53/tcp -p 53:53/udp -p 67:67 -p 9051:80 -p 9550:443 -h Inner-DNS-Control --name=Inner-DNS-Control --net=Inner-Athena --ip=172.20.0.20 --restart=always -v /home:/home -v /var/log/pihole.log:/var/log/pihole.log -v /etc/pihole:/etc/pihole -v pihole_DNS_data:/etc/dnsmasq.d/ pihole/pihole:latest
docker run -d -p 9050:9000 --name=Olympiad0 --dns=172.20.0.20 --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /home/portainer:/data portainer/portainer-ce
exec "$@"


Default port and volume mappings are as listed in the port and volume guide below!

Container DevCenter Port and Volume Resource Mapping

Portainer:
-ports *8000, *9000

Pihole:
-ports *80, *443, *53, 67

Grafana + Loki + Promtail:
-ports *3000, *3100, *514

GitLab (BYOG - Bring your own git, will leave this out of the default package):
-ports *80, *443, *22, 5432, 6379, 8080, 8181, *9090, *9100


Docker in Docker:

Ports
-Expose 22, 80, 443, 2375, 2376
-Portainer 9050:9050 (9000)
-Pihole 9051:9051 (80) - 9550:9550 (443) - optional DNS 53:53 (53)
-Grafana 9052:9052 (3000) - 9551:9551 (3100 Loki) - 9080:9080 (9080 Promtail) - 514:514 (514 Promtail)
-GitLab 9055:9055 (80) - 9555:9555 (443) - 2222:2222 (22) - 9090:9090 (9090) - 9100:9100 (9100)

Volumes
-olympiad-vol/dockerd-entrypoint.sh:/usr/local/bin/dockerd-entrypoint.sh
-olympiad-vol/docker:/var/lib/docker
-olympiad-vol/portainer:portainer:portainer
-olympiad-vol/logs:/var/log:/var/log
-olympiad-vol/etc:/etc:/etc
-olympiad-vol/home:/home:/home
-olympiad/loki-mnt:/mnt/config:/mnt/config
-olympiad/internal-volumes:/var/lib/docker/volumes:/var/lib/docker/volumes


Tag summary

Content type

Image

Digest

Size

74 MB

Last updated

about 5 years ago

docker pull natoascode/olympiad:base