Commit Graph

76 Commits

Author SHA1 Message Date
Lukáš Kucharczyk f1b3417202
docker: add convenience packages 2021-06-21 11:32:43 +02:00
Lukáš Kucharczyk 57c7b06f03
authelia: secure portainer, keycloak, allow local 2021-06-21 11:32:24 +02:00
Lukáš Kucharczyk 11c96fe48d
portainer: allow access to ldap 2021-06-21 11:28:52 +02:00
Lukáš Kucharczyk 8175a62c0b
nginx: make sure https redirect works 2021-06-21 11:28:36 +02:00
Lukáš Kucharczyk 53570a1f08
minor: fix space 2021-06-21 11:11:27 +02:00
Lukáš Kucharczyk a0b1b75a73
Improve networks
Create a single external network called "external".
Create container-specific networks.
Only a few containers need access to these.
So far: openldap, postgres.
2021-06-21 10:38:18 +02:00
Lukáš Kucharczyk d6a6e418b6
nginx: log subrequests 2021-06-21 09:53:47 +02:00
Lukáš Kucharczyk f07c3128e1
portainer: copy nginx conf 2021-06-20 23:26:54 +02:00
Lukáš Kucharczyk a2651e5f79
portainer: add nginx-internal network 2021-06-20 23:09:33 +02:00
Lukáš Kucharczyk 7e2c66c907
Set portainer to one_factor 2021-06-20 23:09:22 +02:00
Lukáš Kucharczyk e28b445cd8
portainer: add nginx conf 2021-06-20 23:07:20 +02:00
Lukáš Kucharczyk f2d80dbe15
portainer: add main task 2021-06-20 23:07:19 +02:00
Lukáš Kucharczyk 7e7c28d68c
portainer: add role to playbook 2021-06-20 23:07:18 +02:00
Lukáš Kucharczyk 8ab660cebb
Fix error introduced in 9cf68c4fda 2021-06-20 23:06:48 +02:00
Lukáš Kucharczyk d72ee10d04
README: add authelia 2021-06-20 21:58:10 +02:00
Lukáš Kucharczyk 9cf68c4fda
authelia: set everything to bypass for now 2021-06-20 21:54:32 +02:00
Lukáš Kucharczyk 90d1065f53
vault: change keycloak admin 2021-06-20 21:53:45 +02:00
Lukáš Kucharczyk a465111aa7
authelia: move proxy config up 2021-06-20 21:53:20 +02:00
Lukáš Kucharczyk 13c9974b4d
Fix authelia-*.conf
The example at https://www.authelia.com/docs/deployment/supported-proxies/nginx.html
does not seem to work. Updated with code from:
https://github.com/linuxserver/docker-swag/blob/master/root/defaults/authelia-server.conf
https://github.com/linuxserver/docker-swag/blob/master/root/defaults/authelia-location.conf
2021-06-20 20:58:09 +02:00
Lukáš Kucharczyk ff90202646
provision.sh: add fish hashbang 2021-06-20 20:57:30 +02:00
Lukáš Kucharczyk 171ef655f8
general: add provision.sh 2021-06-20 20:37:06 +02:00
Lukáš Kucharczyk 3ee7f94194
minor: add missing semicolon 2021-06-20 20:35:08 +02:00
Lukáš Kucharczyk 8658efa4d9
minor: add space around variable 2021-06-20 19:44:58 +02:00
Lukáš Kucharczyk 3d353c4b84
general: add show-pass.sh 2021-06-20 19:43:37 +02:00
Lukáš Kucharczyk f73272ac91
keycloak: enable authelia interstitial 2021-06-20 19:39:46 +02:00
Lukáš Kucharczyk 3d06cf48b8
authelia: add configuration.yml 2021-06-20 19:39:31 +02:00
Lukáš Kucharczyk 851f5ac25e
authelia: add more nginx configuration 2021-06-20 19:38:53 +02:00
Lukáš Kucharczyk c45df9911f
authelia: add the nginx configuration 2021-06-20 19:38:28 +02:00
Lukáš Kucharczyk c19bd16a41
authelia: add the main task 2021-06-20 19:38:06 +02:00
Lukáš Kucharczyk 763b6993fc
Add authelia role to playbook 2021-06-20 19:37:45 +02:00
Lukáš Kucharczyk b7c3a3af8a
openldap: disable debug logging 2021-06-20 18:19:18 +02:00
Lukáš Kucharczyk da527acb17
openldap: remove more cruft 2021-06-20 18:18:44 +02:00
Lukáš Kucharczyk d38701a0e9
openldap: remove cruft 2021-06-20 18:18:21 +02:00
Lukáš Kucharczyk 6fca397d25
openldap: move admin password to vault 2021-06-20 18:16:10 +02:00
Lukáš Kucharczyk 592273fc5b
List OpenLDAP in README 2021-05-18 23:18:11 +02:00
Lukáš Kucharczyk e986991466
Add Keycloak (#1) 2021-05-18 23:10:37 +02:00
Lukáš Kucharczyk 6dcb21fe75
Add PostgreSQL (#14) 2021-05-18 23:09:37 +02:00
Lukáš Kucharczyk 5b5f53564f
nginx: add more snippets, some placeholders 2021-05-18 19:40:58 +02:00
Lukáš Kucharczyk c79009e541
Add hostname to OpenLDAP, remove bridge network 2021-05-18 19:37:43 +02:00
Lukáš Kucharczyk 8d193080dc
Allow outside access to LDAP 2021-05-16 23:47:07 +02:00
Lukáš Kucharczyk c93f579af9
Make loading of custom ldifs work 2021-05-16 23:46:45 +02:00
Lukáš Kucharczyk 8f4cf4883e
Add minimum viable role. 2021-05-16 23:02:01 +02:00
Lukáš Kucharczyk 2fe28931e7
Move ovh.ini to Ansible Vault for now 2021-05-15 00:15:11 +02:00
Lukáš Kucharczyk 87853b9fde
Fix nginx template snippets not being copied 2021-05-15 00:01:23 +02:00
Lukáš Kucharczyk 60cb099b4b
Add ANSIBLE_ARGS to Vagrantfile 2021-05-15 00:00:54 +02:00
Lukáš Kucharczyk 5dfca40517
Remove docker-data from .gitignore 2021-05-15 00:00:32 +02:00
Lukáš Kucharczyk a19ebceece
Add .editorconfig 2021-05-15 00:00:06 +02:00
Lukáš Kucharczyk 89c7618c4c Merge pull request 'Improve SSL handling' (#25) from feat/better-ssl into main
Reviewed-on: homelab/next#25
2021-05-14 21:58:11 +00:00
Lukáš Kucharczyk af5e7c153f Move certificates to Ansible Vault (#27) 2021-05-14 21:58:11 +00:00
Lukáš Kucharczyk bd6f1b2371 Put cert generation behind variable 2021-05-14 21:58:11 +00:00