feat: Buncha shit

This commit is contained in:
Lino Silva
2023-03-25 23:54:00 +00:00
parent fe17c6eb69
commit a43c1593d9
88 changed files with 354 additions and 52 deletions
@@ -24,8 +24,6 @@ services:
- 443:443
- 80:80
restart: unless-stopped
networks:
- reverse-proxy
authelia:
image: authelia/authelia:latest
@@ -37,9 +35,3 @@ services:
volumes:
- /data/authelia/config:/config
restart: unless-stopped
networks:
- reverse-proxy
networks:
reverse-proxy:
external: true
-4
View File
@@ -25,7 +25,3 @@
ansible.builtin.shell: |
systemctl enable docker.service
systemctl enable containerd.service
- name: Create reverse-proxy network
ansible.builtin.shell: |
docker network create reverse-proxy
@@ -1,8 +0,0 @@
---
# Unable to use ansible.builtin.lineinfile, because we need to run this through the proxmox host (because SSH is not enabled duh)
- name: Allow SSH into LXC
ansible.builtin.command: lxc-attach -n 606 -- sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
- name: Restart SSH Service
ansible.builtin.command: lxc-attach -n 606 service ssh restart