mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-23 22:51:41 +00:00
Add markdown linting support
This commit is contained in:
@@ -28,7 +28,7 @@ Enter phpIPAM. A tool designed to help home keeps as well as large organisations
|
||||
|
||||
We'll need several directories to bind-mount into our container, so create them in `/var/data/phpipam`:
|
||||
|
||||
```
|
||||
```bash
|
||||
mkdir /var/data/phpipam/databases-dump -p
|
||||
mkdir /var/data/runtime/phpipam -p
|
||||
```
|
||||
@@ -37,7 +37,7 @@ mkdir /var/data/runtime/phpipam -p
|
||||
|
||||
Create `phpipam.env`, and populate with the following variables
|
||||
|
||||
```
|
||||
```bash
|
||||
# Setup for github, phpipam application
|
||||
OAUTH2_PROXY_CLIENT_ID=
|
||||
OAUTH2_PROXY_CLIENT_SECRET=
|
||||
@@ -62,7 +62,7 @@ BACKUP_FREQUENCY=1d
|
||||
|
||||
Additionally, create `phpipam-backup.env`, and populate with the following variables:
|
||||
|
||||
```
|
||||
```bash
|
||||
# For MariaDB/MySQL database
|
||||
MYSQL_ROOT_PASSWORD=imtoosecretformyshorts
|
||||
MYSQL_DATABASE=phpipam
|
||||
@@ -74,8 +74,6 @@ BACKUP_NUM_KEEP=7
|
||||
BACKUP_FREQUENCY=1d
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Setup Docker Swarm
|
||||
|
||||
Create a docker swarm config file in docker-compose syntax (v3), something like this:
|
||||
@@ -161,4 +159,4 @@ Log into your new instance at https://**YOUR-FQDN**, and follow the on-screen pr
|
||||
|
||||
[^1]: If you wanted to expose the phpIPAM UI directly, you could remove the `traefik.http.routers.api.middlewares` label from the app container :thumbsup:
|
||||
|
||||
--8<-- "recipe-footer.md"
|
||||
--8<-- "recipe-footer.md"
|
||||
|
||||
Reference in New Issue
Block a user