1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 09:46:23 +00:00

Make better use of markdown snippets

This commit is contained in:
David Young
2021-01-26 10:54:24 +13:00
parent c5e313b65c
commit f006dfdbe6
41 changed files with 67 additions and 318 deletions

View File

@@ -8,15 +8,7 @@ What's an Instagram bot? Basically, you feed the bot your Instagram user/passwor
Great power, right? A client (_yes, you can [hire](https://www.funkypenguin.co.nz/) me!_) asked me to integrate InstaPy into their swarm, and this recipe is the result.
## Ingredients
!!! summary "Ingredients"
Existing:
1. [X] [Docker swarm cluster](/ha-docker-swarm/design/) with [persistent shared storage](/ha-docker-swarm/shared-storage-ceph.md)
2. [X] [Traefik](/ha-docker-swarm/traefik) configured per design
3. [X] DNS entry for the hostname you intend to use, pointed to your [keepalived](/ha-docker-swarm/keepalived/) IP
--8<-- "recipe-standard-ingredients.md"
## Preparation
@@ -65,8 +57,7 @@ services:
- "5900:5900"
```
!!! note
Setup unique static subnets for every stack you deploy. This avoids IP/gateway conflicts which can otherwise occur when you're creating/removing stacks a lot. See [my list](/reference/networks/) here.
--8<-- "reference-networks.md"
### Command your bot