Difference between revisions of "Docker"
Jump to navigation
Jump to search
Line 36: | Line 36: | ||
*bootstrap templates | *bootstrap templates | ||
*config stuff | *config stuff | ||
+ | |||
+ | ===IRC Web Client=== | ||
+ | Access your favorite IRC channels from anywhere!! | ||
+ | *TheLounge [[TheLounge docker-compose.yml|docker-compose.yml]] for your docker | ||
+ | *Config is self guided after you install with <code>docker-compose up -d</code> via a web browser via <code>http://your-irc-domain.tld:9000</code> | ||
+ | *TheLounge Website: [https://thelounge.chat/ https://thelounge.chat/] | ||
===PodcastGenerator!!=== | ===PodcastGenerator!!=== |
Revision as of 04:01, 1 January 2021
So how did I gin up a wiki page? I cheated.
I knew that I wanted a few different resources and didn't want to spin up a separate cloud node for each project. I could spend 32 weeks studying reverse proxies and goof my way thru it but ain't nobody got time for that. I paid a guy on fiverr about $75 to use docker to set up a Traefik reverse proxy container, a MySQL container and managing adminer container, and a wiki and wordpress container as working examples.
Below is a brief journey of how it all progressed and some sample config files to maybe get you started.
Traefik reverse proxy
- Wat it do? Layman explanation: This allows one "server" to masquerade as wiki.domain.tld, blog.domain.tld, podcast.domain.tld, etc. and pass the traffic to the corresponding virtual server running in the background. You can roll your own with nginx but I don't feel like learning all that and this spins up in a docker container, configures itself and IT PULLS VALID CERTS FOR Y0UR SUBDOMAINS!!! Winning!!
- From their website:
- Traefik is a leading modern reverse proxy and load balancer that makes deploying microservices easy. Traefik integrates with your existing infrastructure components and configures itself automatically and dynamically.
- Traefik is designed to be as simple as possible to operate, but capable of handling large, highly-complex deployments across a wide range of environments and protocols in public, private, and hybrid clouds. It also comes with a powerful set of middlewares that enhance its capabilities to include load balancing, API gateway, orchestrator ingress, as well as east-west service communication and more.
- Run Traefik and let it do the work for you!
- From their website:
- How to set it up:
- DNS settings: You need at a minimum to have your domain.tld and traefik.domain.tld to have valid A Records. CNAME may work but I used A Records.
- Save this file: Traefik - docker-compose.yml in the folder you wish to use for your Traefik container. In your favorite text editor (nano,vim,notepad) edit the file to reflect your domain.tld and save the file.
- In the folder with this file, run the following command
docker-compose up -d
This will take a few minutes and do its thing. - After a while you can verify that it is running by executing
docker ps -a
- Config stuff?? I don't remember setting anything up after the initial docker install. Should I harden it? Any Traefik experts care to chime in?
MySQL and Adminer
- Wat it do
- docker-compose.yml file
- config stuff??
mediawiki 1.35
- Wat it do
- docker-compose.yml
- config stuff
- extensions for fun and opsec
LAMP stack
- you get a LAMP stack and you get a LAMP stack, evrybody on Oprah getting a LAMP stack!!!!
- docker-compose.yml
- config stuff
- bootstrap templates
- config stuff
IRC Web Client
Access your favorite IRC channels from anywhere!!
- TheLounge docker-compose.yml for your docker
- Config is self guided after you install with
docker-compose up -d
via a web browser viahttp://your-irc-domain.tld:9000
- TheLounge Website: https://thelounge.chat/
PodcastGenerator!!
Cause who doesn't need a RSS feed of their own
- Wat it do
- docker-compose.yml
- config stuff