From bc68bf8c599ca55c559f6a525d1538deb359b42e Mon Sep 17 00:00:00 2001 From: AutoPenguin Date: Wed, 3 Jun 2020 03:00:31 +0000 Subject: [PATCH] Update for leanpub preview --- manuscript/book.txt | 77 ++++++++++++++++++++++++- manuscript/ha-docker-swarm/registry.md | 2 +- manuscript/index.md | 2 +- manuscript/reference/troubleshooting.md | 1 - manuscript/support.md | 2 +- manuscript/whoami.md | 2 +- scripts/markdown-to-markua.sh | 6 ++ 7 files changed, 86 insertions(+), 6 deletions(-) diff --git a/manuscript/book.txt b/manuscript/book.txt index 5a9abc8..8988ec8 100644 --- a/manuscript/book.txt +++ b/manuscript/book.txt @@ -6,4 +6,79 @@ whoami.md sections/ha-docker-swarm.md ha-docker-swarm/design.md ha-docker-swarm/nodes.md -ha-docker-swarm/shared-storage-ceph.md \ No newline at end of file +ha-docker-swarm/shared-storage-ceph.md +ha-docker-swarm/shared-storage-gluster.md +ha-docker-swarm/keepalived.md +ha-docker-swarm/docker-swarm-mode.md +ha-docker-swarm/traefik.md +ha-docker-swarm/traefik-forward-auth.md +ha-docker-swarm/traefik-forward-auth/keycloak.md +ha-docker-swarm/registry.md + +sections/chefs-favorites-docker.md +recipes/autopirate.md +recipes/autopirate/sabnzbd.md +recipes/autopirate/nzbget.md +recipes/autopirate/rtorrent.md +recipes/autopirate/sonarr.md +recipes/autopirate/radarr.md +recipes/autopirate/mylar.md +recipes/autopirate/lazylibrarian.md +recipes/autopirate/headphones.md +recipes/autopirate/lidarr.md +recipes/autopirate/nzbhydra.md +recipes/autopirate/nzbhydra2.md +recipes/autopirate/ombi.md +recipes/autopirate/jackett.md +recipes/autopirate/heimdall.md +recipes/autopirate/end.md + +recipes/duplicity.md +recipes/elkarbackup.md +recipes/emby.md +recipes/homeassistant.md +recipes/homeassistant/ibeacon.md +recipes/huginn.md +recipes/kanboard.md +recipes/miniflux.md +recipes/munin.md +recipes/nextcloud.md +recipes/owntracks.md +recipes/phpipam.md +recipes/plex.md +recipes/privatebin.md +recipes/swarmprom.md + +sections/menu-docker.md +recipes/bitwarden.md +recipes/bookstack.md +recipes/calibre-web.md +recipes/collabora-online.md +recipes/ghost.md +recipes/gitlab.md +recipes/gitlab-runner.md +recipes/gollum.md +recipes/instapy.md +recipes/keycloak.md +recipes/keycloak/create-user.md +recipes/keycloak/authenticate-against-openldap.md +recipes/keycloak/setup-oidc-provider.md +recipes/openldap.md +recipes/mail.md +recipes/minio.md +recipes/piwik.md +recipes/portainer.md +recipes/realms.md +recipes/tiny-tiny-rss.md +recipes/wallabag.md +recipes/wekan.md +recipes/wetty.md + +sections/reference.md +reference/oauth_proxy.md +reference/data_layout.md +reference/networks.md +reference/containers.md +reference/git-docker.md +reference/openvpn.md +reference/troubleshooting.md diff --git a/manuscript/ha-docker-swarm/registry.md b/manuscript/ha-docker-swarm/registry.md index e9aebe5..67c1743 100644 --- a/manuscript/ha-docker-swarm/registry.md +++ b/manuscript/ha-docker-swarm/registry.md @@ -62,7 +62,7 @@ storage: delete: enabled: true http: - addr: :5000 + addr5000 headers: X-Content-Type-Options: [nosniff] health: diff --git a/manuscript/index.md b/manuscript/index.md index 0b34e37..ede1d9e 100644 --- a/manuscript/index.md +++ b/manuscript/index.md @@ -61,7 +61,7 @@ Impulsively **[click here (NOW quick do it!)](https://github.com/sponsors/funkyp ### Work with me -Need some Cloud / Microservices / DevOps / Infrastructure design work done? I'm a full-time [AWS-certified](https://www.certmetrics.com/amazon/public/badge.aspx?i=4&t=c&d=2019-02-22&ci=AWS00794574) consultant, this stuff is my bread and butter! :bread: :fork_and_knife: [Get in touch](https://www.funkypenguin.co.nz/contact/), and let's talk business! +Need some Cloud / Microservices / DevOps / Infrastructure design work done? I'm a full-time [AWS-certified](https://www.certmetrics.com/amazon/public/badge.aspx?i=4&t=c&d=2019-02-22&ci=AWS00794574) consultant, this stuff is my bread and butter! :breadfork_and_knife: [Get in touch](https://www.funkypenguin.co.nz/contact/), and let's talk business! !!! quote "He unblocked me on all the technical hurdles to launching my SaaS in GKE!" diff --git a/manuscript/reference/troubleshooting.md b/manuscript/reference/troubleshooting.md index 2830da9..ebbdc3a 100644 --- a/manuscript/reference/troubleshooting.md +++ b/manuscript/reference/troubleshooting.md @@ -23,4 +23,3 @@ For a visual "top-like" display of your container's activity (_as well as a [det To execute, simply run `docker run --rm -ti --name ctop -v /var/run/docker.sock:/var/run/docker.sock quay.io/vektorlab/ctop:latest` Example: -![](https://github.com/bcicen/ctop/raw/master/_docs/img/grid.gif) \ No newline at end of file diff --git a/manuscript/support.md b/manuscript/support.md index 49f7f7d..e960a44 100644 --- a/manuscript/support.md +++ b/manuscript/support.md @@ -59,7 +59,7 @@ Impulsively **[click here (NOW quick do it!)][11]** to sponsor me, or instead th ### Engage me -Need some Cloud / Microservices / DevOps / Infrastructure design work done? I'm a full-time [AWS-certified][13] consultant, this stuff is my bread and butter! :bread: :fork\_and\_knife: [Contact][14] me and let's talk! +Need some Cloud / Microservices / DevOps / Infrastructure design work done? I'm a full-time [AWS-certified][13] consultant, this stuff is my bread and butter! :breadfork\_and\_knife: [Contact][14] me and let's talk! ### Discord diff --git a/manuscript/whoami.md b/manuscript/whoami.md index 27e6a37..1f819cd 100644 --- a/manuscript/whoami.md +++ b/manuscript/whoami.md @@ -22,7 +22,7 @@ Due to my contributions to [phpList](http://www.phplist.com), I was approached i ## Work with me -Need some Cloud / Microservices / DevOps / Infrastructure design work done? I'm a full-time [AWS-certified][aws_cert] consultant, this stuff is my bread and butter! :bread: :fork_and_knife: [Get in touch][contact], and let's talk business! +Need some Cloud / Microservices / DevOps / Infrastructure design work done? I'm a full-time [AWS-certified][aws_cert] consultant, this stuff is my bread and butter! :breadfork_and_knife: [Get in touch][contact], and let's talk business! [plex]: https://www.plex.tv/ [nextcloud]: https://nextcloud.com/ diff --git a/scripts/markdown-to-markua.sh b/scripts/markdown-to-markua.sh index b51768f..4274863 100755 --- a/scripts/markdown-to-markua.sh +++ b/scripts/markdown-to-markua.sh @@ -10,6 +10,12 @@ do # Can't use relative paths in a book, so make all paths static sed -i 's/](\//\](https:\/\/geek-cookbook.funkypenguin.co.nz\//g' $file + # GitHub emojis look beautiful but don't render nicely + sed -i 's/:[a-z\ ]://g' $file + + # Animated gifs make leanpub fail, so strip 'em out by deleting the entire line + sed -i '/.gif/d' $file + # strip emojis tr -cd '\11\12\15\40-\176' < $file > $file-clean mv $file-clean $file