diff --git a/README.md b/README.md index 8d0397f..7d4aefb 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,12 @@ Can also just check the directories listed at the top for work in progress Check also [StarWhiz / docker_deployment_notes](https://github.com/StarWhiz/docker_deployment_notes/blob/master/README.md)
Repo documents self hosted apps in similar format and also uses caddy for reverse proxy +--- + +* ### [For Docker Noobs](https://github.com/DoTheEvo/selfhosted-apps-docker#for-docker-noobs) + +--- + # Core concepts - `docker-compose.yml` do not need any editing to get started, @@ -222,18 +228,22 @@ First, docker is easy. Like really.
Second, there are two main uses. -* A developer who daily works on an app and docker eases everything about it, from testing to deployment -* A self-hosting / devops approach, where you just want to get a service running +* A developer who daily works on an apps and docker eases everything about it, + from setting up enviroment, to testing and deployment. +* A hosting approach, where you are not that concerned with detials of what + and how works in the container that is prepared for you by developers, + you just want it running This whole repo is obviously about the second use. So be careful that you wont -spend time on resources used to educate developers. I mean if you get through -that you will know docker better. But theres always the danger that after sinking -4 hours learning, one still cant get plain nginx web server up and working. +spend time on resources used to educate developers. Sure, if you get through +that you will know docker better, but theres always the danger that after sinking +4 hours "learning", one still cant get plain nginx web server up and working +and loses motivation.
And my personal preference in learning is getting something up as fast as possible -and then tinker with it and try to understand it. +and then tinker with it and try to understand how it works. -So to solve this, when googling for guides, look for **docker compose** -rather than just **docker** tutorials and notice if they are talking +So when googling for guides, look for **docker compose** +rather than just **docker** tutorials and notice if they are talking some core fundamentals or deployment. * [This](https://youtu.be/DM65_JyGxCo) one is pretty good. That entire channel diff --git a/mikrotik/cli_basics.md b/mikrotik/cli_basics.md new file mode 100644 index 0000000..a9270b4 --- /dev/null +++ b/mikrotik/cli_basics.md @@ -0,0 +1,7 @@ +# Dumb switch with wifi AP + +## Objective + + +## Steps + diff --git a/mikrotik/dumb_switch_with_wifi_AP.md b/mikrotik/dumb_switch_with_wifi_AP.md new file mode 100644 index 0000000..573fa0b --- /dev/null +++ b/mikrotik/dumb_switch_with_wifi_AP.md @@ -0,0 +1,81 @@ +# Dumb switch with wifi AP + +## Objective + +* every single port bridged, device acting like a switch +* wifi being bridged to the same network +* automatic IP assigned +* no DHCP, no NAT, no nothing, just like a dumb switch with wifi thats all + +## Steps + +Clear any config + +* System > Reset Configuration > No Default Configuration + +--- + +**Bridge** + +* Bridge > add bridge1 +* Ports > add > All interfaces to bridge1 + +*winbox will reconnect* + +--- + +**IP** + +*dynamic* + +* IP > DHCP client > add > interface bridge, rest defaults + +*static* + +* IP > Addresses > add >  +* Address - 192.168.88.2/24 +* Network - it gets filled out automatically on ok/apply based on subnet mask in address  +* interface - bridge + +--- + +2ghz + +* Wireless > open 2ghz interface > Wireless tab > click Advanced Mode > in this tab +* change Mode from station to ap bridge +* change Band to 2Ghz- B/G/N +* Channel Width stay at 20Mhz if lot of wifi around you, go to 40Mhz if not +* Frequency - pick a channel \[1-2412 ; 6-2437; 11-2462\] +* SSID - pick a name +* Radio Name - if you you want to distingush between APs with same SSID? +* Skip DFS channels - all +* Security Profile - just make note of the one set there, should be default +* WPS mode - disable +* Country - pick yours + +------------- + +5ghz + +* Wireless > open 5ghz interface > Wireless tab > click Advanced Mode > in this tab +* change Mode from station to ap bridge +* change Band to 5Ghz- N/AC +* Channel Width 20/40/80Mhz XXXX +* Frequency - auto? +* SSID - pick a name +* Radio Name - if you you want to distingush between APs with same SSID? +* Skip DFS channels - all +* Security Profile - just make note of the one set there, should be default +* WPS mode - disable +* Country - pick yours + +--------------- + +security + +* Wireless > Security Profiles > default +* change Mode to dynamic keys +* check WPA PSK and WPA2 PSK +* set passwords in WPA/WPA2 pre-shared key inputs + +------------ diff --git a/mikrotik/hairpin_nat_reflection.md b/mikrotik/hairpin_nat_reflection.md new file mode 100644 index 0000000..cc03bbe --- /dev/null +++ b/mikrotik/hairpin_nat_reflection.md @@ -0,0 +1 @@ +https://forum.mikrotik.com/viewtopic.php?t=179343