From ec9421190dc6886cea9a902a3c1fb5fe6dde3ad6 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 6 Oct 2023 10:57:20 -0700 Subject: [PATCH] Delete unused matrix on warlock --- warlock/config/matrix/.env | 1 - warlock/config/matrix/docker-compose.yml | 45 ------------------------ warlock/config/matrix/postgres.env | 1 - 3 files changed, 47 deletions(-) delete mode 100644 warlock/config/matrix/.env delete mode 100644 warlock/config/matrix/docker-compose.yml delete mode 100644 warlock/config/matrix/postgres.env diff --git a/warlock/config/matrix/.env b/warlock/config/matrix/.env deleted file mode 100644 index 5a53305..0000000 --- a/warlock/config/matrix/.env +++ /dev/null @@ -1 +0,0 @@ -DOCKER_DATA=/home/joey/data/matrix \ No newline at end of file diff --git a/warlock/config/matrix/docker-compose.yml b/warlock/config/matrix/docker-compose.yml deleted file mode 100644 index a7ff82e..0000000 --- a/warlock/config/matrix/docker-compose.yml +++ /dev/null @@ -1,45 +0,0 @@ -version: '3' -services: - postgres: - hostname: postgres - image: postgres:14 - restart: always - volumes: - - $DOCKER_DATA/postgres/create_db.sh:/docker-entrypoint-initdb.d/20-create_db.sh - - $DOCKER_DATA/postgres/postgresql:/var/lib/postgresql/data - env_file: - - postgres.env - - postgres_secrets.env - healthcheck: - test: ["CMD-SHELL", "pg_isready -U dendrite"] - interval: 5s - timeout: 5s - retries: 5 - networks: - - matrix - - monolith: - hostname: monolith - image: matrixdotorg/dendrite-monolith:latest - command: [ - "--tls-cert=server.crt", - "--tls-key=server.key" - ] - volumes: - - $DOCKER_DATA/dendrite/config:/etc/dendrite - - $DOCKER_DATA/dendrite/media:/var/dendrite/media - depends_on: - - postgres - networks: - - matrix - - web - restart: unless-stopped - labels: - - traefik.http.routers.matrix.rule=Host(`matrix.jafner.chat`) - - traefik.http.routers.matrix.tls.certresolver=lets-encrypt - -networks: - matrix: - attachable: true - web: - external: true \ No newline at end of file diff --git a/warlock/config/matrix/postgres.env b/warlock/config/matrix/postgres.env deleted file mode 100644 index 9d2170e..0000000 --- a/warlock/config/matrix/postgres.env +++ /dev/null @@ -1 +0,0 @@ -POSTGRES_USER=dendrite \ No newline at end of file