Add: New files for paasify apps

This commit is contained in:
root 2022-10-29 05:53:20 +00:00
parent 5bc1a1c688
commit 6408d06422
7 changed files with 114 additions and 0 deletions

View File

@ -0,0 +1,16 @@
networks:
ldap:
name: ${net_ldap-:${app_network_name:-ldap}}
services:
authelia:
networks:
ldap:
environment: {}
# LDAP configuration
# DOES NOT WORK: - AUTHELIA_AUTHENTIFICATION_BACKEND_LDAP=true
# DOES NOT WORK: - AUTHELIA_AUTHENTIFICATION_BACKEND_LDAP_URL=ldap://ldap
# DOES NOT WORK: - AUTHELIA_AUTHENTIFICATION_BACKEND_LDAP_BASE_DN=DC=barbu-it,DC=com
# DOES NOT WORK: - AUTHELIA_AUTHENTIFICATION_BACKEND_LDAP_USER=CN=admin,DC=barbu-it,DC=com
# DOES NOT WORK: - AUTHELIA_AUTHENTIFICATION_BACKEND_LDAP_PASSWORD=JarWucact1DoocAcKods

1
authelia/vars.yml Normal file
View File

@ -0,0 +1 @@
traefik_svc_port: "9091"

View File

@ -0,0 +1,25 @@
---
networks:
consul:
services:
consul-agent:
hostname: consul-agent-0
image: consul:1.10
restart: unless-stopped
command: "agent -retry-join consul -client 0.0.0.0"
networks:
- consul
environment:
CONSUL_BIND_INTERFACE: eth0
# consul-agent-1:
# <<: *consul_agent
# hostname: consul-agent-1
#
# consul-agent-2:
# <<: *consul_agent
# hostname: consul-agent-2

View File

@ -0,0 +1,62 @@
---
version: '3'
# Default consul image
x-consul: &consul
#image: consul:latest
image: consul:1.10
restart: unless-stopped
networks:
- default
environment:
CONSUL_BIND_INTERFACE: eth0
# Roles configuration
x-consul-agent: &consul_agent
<<: *consul
command: "agent -retry-join consul -client 0.0.0.0"
x-consul-server: &consul_server
<<: *consul
command: "agent -server -retry-join consul -client 0.0.0.0"
x-consul-bootstrap: &consul_server_bootstrap
<<: *consul_server
command: "agent -server -bootstrap-expect 3 -ui -client 0.0.0.0"
#ports:
# - "8400:8400"
# - "8500:8500"
# - "8600:8600"
# - "8600:8600/udp"
networks:
default:
services:
consul:
<<: *consul_server_bootstrap
hostname: consul
volumes:
- $app_data_dir/server1:/consul/data
consul-server-1:
<<: *consul_server
hostname: consul-server-1
consul-server-2:
<<: *consul_server
hostname: consul-server-2
consul-agent:
<<: *consul_agent
hostname: consul-agent-0
# consul-agent-1:
# <<: *consul_agent
# hostname: consul-agent-1
#
# consul-agent-2:
# <<: *consul_agent
# hostname: consul-agent-2

3
consul/vars.yml Normal file
View File

@ -0,0 +1,3 @@
traefik_svc_ident: consul
traefik_svc_port: 8500

View File

@ -0,0 +1,5 @@
# Traefik config
traefik_svc_ident: lum
traefik_svc_port: 80

2
openldap/vars.yml Normal file
View File

@ -0,0 +1,2 @@
app_network_name: ${net_ldap}