Skip to content

ArtemioPadilla/PrivateServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrivateServer

Setup

Run and compilation

To build from Dockerfile

To Build:

      docker build -t cloudflared .

To Run:

      docker run -it -d --name cloudflared cloudflared

To Exec:

      docker exec -it cloudflared bash

To Run Docker Compose

      docker-compose up --build

Containers:

cloudflared

Hostname: cloudflared

Purpose: To be the link betweet the internet and the server

Configutarion: The ingress rules for CNAMES and ports is in the config.yml

nginx-container

Hostname: web

Purpose: To host a website on port 80

Mount: /html/

SSH Host

Hostname: ???

Purpose: To host SSH connections to the host machine and to other capable containers.

Networks

Stable Network

      subnet: 172.20.0.0/16
      ip_range: 172.28.5.0/24
      gateway: 172.20.128.1

Served IPs:

  • 172.20.128.1: Host Machine
  • 172.20.128.2: cloudflared
  • 172.20.128.3: web
  • 172.20.128.4: ?

Mounts

/html/

Purpose: To store the website files needed for the nginx-container

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published