From f9f20b523622e55997c8391e16cc591aff04f35b Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Sat, 13 Jul 2024 17:50:13 +0200 Subject: [PATCH] Delete ubuntu directory --- ubuntu/README.md | 40 ------------------------ ubuntu/postgresql_authentik/.env | 1 - ubuntu/postgresql_authentik/compose.yaml | 20 ------------ ubuntu/redis_authentik/.env | 1 - ubuntu/redis_authentik/compose.yaml | 15 --------- 5 files changed, 77 deletions(-) delete mode 100644 ubuntu/README.md delete mode 100644 ubuntu/postgresql_authentik/.env delete mode 100644 ubuntu/postgresql_authentik/compose.yaml delete mode 100644 ubuntu/redis_authentik/.env delete mode 100644 ubuntu/redis_authentik/compose.yaml diff --git a/ubuntu/README.md b/ubuntu/README.md deleted file mode 100644 index 163853e..0000000 --- a/ubuntu/README.md +++ /dev/null @@ -1,40 +0,0 @@ -``` -apt update -apt upgrade - -apt install git pkg-config libssl-dev curl mc argon2 ca-certificates net-tools - -install -m 0755 -d /etc/apt/keyrings - -curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc - -chmod a+r /etc/apt/keyrings/docker.asc - -echo \ - "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ - $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ - sudo tee /etc/apt/sources.list.d/docker.list > /dev/null - -apt-get update - -apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin - -echo "{" > /etc/docker/daemon.json -echo ' "iptables": false' >> /etc/docker/daemon.json -echo "}" >> /etc/docker/daemon.json - -systemctl restart docker - -ufw allow in on docker0 -ufw route allow in on docker0 -ufw route allow out on docker0 - -ufw allow 22 -ufw allow 443 -ufw enable - -ufw status verbose - -docker run hello-world -``` - diff --git a/ubuntu/postgresql_authentik/.env b/ubuntu/postgresql_authentik/.env deleted file mode 100644 index f755306..0000000 --- a/ubuntu/postgresql_authentik/.env +++ /dev/null @@ -1 +0,0 @@ -MARIADB_ROOT_PASSWORD=REDACTED diff --git a/ubuntu/postgresql_authentik/compose.yaml b/ubuntu/postgresql_authentik/compose.yaml deleted file mode 100644 index 8a8b90f..0000000 --- a/ubuntu/postgresql_authentik/compose.yaml +++ /dev/null @@ -1,20 +0,0 @@ -services: - postgresauth: - image: "postgres:12-alpine" - container_name: "postgres-authentik" - hostname: "postgres-authentik" - restart: always - shm_size: 128mb - volumes: - - database_authentik:/var/lib/postgresql/data - ports: - - 6381:5432 - network_mode: bridge - environment: - POSTGRES_PASSWORD: ${MARIADB_ROOT_PASSWORD} - POSTGRES_USER: authentik - POSTGRES_DB: authentik - -volumes: - database_authentik: - diff --git a/ubuntu/redis_authentik/.env b/ubuntu/redis_authentik/.env deleted file mode 100644 index 8b13789..0000000 --- a/ubuntu/redis_authentik/.env +++ /dev/null @@ -1 +0,0 @@ - diff --git a/ubuntu/redis_authentik/compose.yaml b/ubuntu/redis_authentik/compose.yaml deleted file mode 100644 index 7a20e10..0000000 --- a/ubuntu/redis_authentik/compose.yaml +++ /dev/null @@ -1,15 +0,0 @@ -services: - redisauth: - image: "redis:alpine" - container_name: "redis-authentik" - hostname: "redis-authentik" - restart: always - volumes: - - redis_authentik:/data - ports: - - 6380:6379 - network_mode: bridge - -volumes: - redis_authentik: -