Fix compose network snippet indentation across app articles
This commit is contained in:
@@ -43,7 +43,7 @@ tree:
|
||||
- docker:
|
||||
- authentik:
|
||||
- .env
|
||||
- compose.yml
|
||||
- compose.yaml
|
||||
- media/
|
||||
- certs/
|
||||
- custom-template/
|
||||
@@ -69,9 +69,9 @@ echo "AUTHENTIK_SECRET_KEY=$(openssl rand 60 | base64)" | sudo tee -a .env
|
||||
|
||||
::note
|
||||
|
||||
To generate the keys, we created the folders ahead of deployment using Dockge. Dockge will prevent you from creating a stack with the same name in these folders unless a `compose.yml` file exists. So, create an empty `compose.yml` so it appears as an inactive stack:
|
||||
To generate the keys, we created the folders ahead of deployment using Dockge. Dockge will prevent you from creating a stack with the same name in these folders unless a `compose.yaml` file exists. So, create an empty `compose.yaml` so it appears as an inactive stack:
|
||||
```bash [Terminal]
|
||||
sudo nano /srv/docker/authentik/compose.yml
|
||||
sudo nano /srv/docker/authentik/compose.yaml
|
||||
```
|
||||
::
|
||||
|
||||
@@ -284,9 +284,9 @@ Go to Dockge, and edit the SWAG compose file to add the Authentik network:
|
||||
---
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
container_name: # ...
|
||||
# ...
|
||||
networks: # Attach the container to the custom network
|
||||
networks: # Attach the container to the custom network
|
||||
# ...
|
||||
- authentik # Name of the network declared in the stack
|
||||
|
||||
@@ -493,9 +493,9 @@ sudo nano /srv/docker/swag/compose.yaml
|
||||
---
|
||||
services:
|
||||
swag:
|
||||
container_name: #...
|
||||
container_name: #...
|
||||
# ...
|
||||
networks: # Attach the container to the custom network
|
||||
networks: # Attach the container to the custom network
|
||||
|
||||
- authentik-outpost # Network name as declared in the stack
|
||||
|
||||
|
||||
@@ -172,9 +172,9 @@ Go to Dockge and edit SWAG's compose file by adding Arcane's network:
|
||||
---
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
container_name: # ...
|
||||
# ...
|
||||
networks: # Attach container to custom network
|
||||
networks: # Attach container to custom network
|
||||
# ...
|
||||
- arcane # Name of the declared network
|
||||
|
||||
|
||||
Reference in New Issue
Block a user