mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-15 18:56:24 +00:00
Improve the auth_internal network stack
This commit is contained in:
@@ -398,17 +398,25 @@ networks:
|
|||||||
Create **another** stack config file (```/var/data/config/openldap/auth.yml```) containing just the auth_internal network, and a dummy container:
|
Create **another** stack config file (```/var/data/config/openldap/auth.yml```) containing just the auth_internal network, and a dummy container:
|
||||||
|
|
||||||
```
|
```
|
||||||
version: '3'
|
version: "3.2"
|
||||||
|
|
||||||
|
# What is this?
|
||||||
|
#
|
||||||
|
# This stack exists solely to deploy the auth_internal overlay network, so that
|
||||||
|
# other stacks (including keycloak and openldap) can attach to it
|
||||||
|
|
||||||
services:
|
services:
|
||||||
helloworld:
|
scratch:
|
||||||
image: hello-world
|
image: scratch
|
||||||
|
deploy:
|
||||||
|
replicas: 0
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
driver: overlay
|
driver: overlay
|
||||||
|
attachable: true
|
||||||
ipam:
|
ipam:
|
||||||
config:
|
config:
|
||||||
- subnet: 172.16.39.0/24
|
- subnet: 172.16.39.0/24
|
||||||
|
|||||||
Reference in New Issue
Block a user