This commit is contained in:
DoTheEvo 2023-03-20 17:12:02 +01:00
parent ab2c487a4f
commit 78a6b56a35
4 changed files with 107 additions and 8 deletions

View File

@ -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)<br>
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.<br>
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.<br>
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

7
mikrotik/cli_basics.md Normal file
View File

@ -0,0 +1,7 @@
# Dumb switch with wifi AP
## Objective
## Steps

View File

@ -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
------------

View File

@ -0,0 +1 @@
https://forum.mikrotik.com/viewtopic.php?t=179343