commit baeb550ee14fa72ea5d24284646e922918baf8a0 Author: geezo Date: Mon Dec 23 03:32:04 2024 +0000 first check int diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c34930c --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +music/ +data/ diff --git a/autorestic/.autorestic b/autorestic/.autorestic new file mode 100644 index 0000000..feaf1bd --- /dev/null +++ b/autorestic/.autorestic @@ -0,0 +1,18 @@ +version: 2 + +backends: + aws_s3: + type: s3 + path: s3.amazonaws.com/284a418918ee0b6d99972d836ddd6840 + env: + AWS_ACCESS_KEY_ID: AKIA4XIDYLVKXZWMVHWI + AWS_SECRET_ACCESS_KEY: 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 + +location: + hoarder_meilisearch_data: + from: hoarder_meilisearch_data + type: volume + to: + - aws_s3 + + diff --git a/autorestic/autorestic.yaml b/autorestic/autorestic.yaml new file mode 100644 index 0000000..feaf1bd --- /dev/null +++ b/autorestic/autorestic.yaml @@ -0,0 +1,18 @@ +version: 2 + +backends: + aws_s3: + type: s3 + path: s3.amazonaws.com/284a418918ee0b6d99972d836ddd6840 + env: + AWS_ACCESS_KEY_ID: AKIA4XIDYLVKXZWMVHWI + AWS_SECRET_ACCESS_KEY: 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 + +location: + hoarder_meilisearch_data: + from: hoarder_meilisearch_data + type: volume + to: + - aws_s3 + + diff --git a/autorestic/config.yaml b/autorestic/config.yaml new file mode 100644 index 0000000..cc77d1d --- /dev/null +++ b/autorestic/config.yaml @@ -0,0 +1,69 @@ +version: 2 + +backends: + aws_s3: + type: s3 + path: s3.amazonaws.com/284a418918ee0b6d99972d836ddd6840 + key: "#4famakin" + env: + AWS_ACCESS_KEY_ID: AKIA4XIDYLVKXZWMVHWI + AWS_SECRET_ACCESS_KEY: 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 + +locations: + hoarder_meilisearch_data: + from: hoarder_meilisearch_data + type: volume + to: + - aws_s3 + hoarder_hoarder_data: + from: hoarder_hoarder_data + type: volume + to: + - aws_s3 + gitea_stack_gitea: + from: gitea_stack_gitea + type: volume + to: + - aws_s3 + + gitea_stack_postgres: + from: gitea_stack_postgres + type: volume + to: + - aws_s3 + + nextcloud: + from: nextcloud + type: volume + to: + - aws_s3 + + homebridge: + from: homebridge + type: volume + to: + - aws_s3 + + homarr: + from: homarr + type: volume + to: + - aws_s3 + + immich: + from: immich_model-cache + type: volume + to: + - aws_s3 + + memos: + from: memos + type: volume + to: + - aws_s3 + + portainer: + from: portainer_data + type: volume + to: + - aws_s3 diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml new file mode 100644 index 0000000..76ff55f --- /dev/null +++ b/gitea/docker-compose.yml @@ -0,0 +1,46 @@ +version: "3" + +networks: + gitea: + external: false + +services: + server: + image: docker.io/gitea/gitea:1.22.6 + container_name: gitea + environment: + - USER_UID=1000 + - USER_GID=1000 + - GITEA__database__DB_TYPE=postgres + - GITEA__database__HOST=postgres:5432 + - GITEA__database__NAME=gitea + - GITEA__database__USER=gitea + - GITEA__database__PASSWD=gitea + restart: always + networks: + - gitea + volumes: + - gitea_data:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: + - "1001:3000" + - "222:22" + depends_on: + - postgres + + postgres: + image: postgres:14 + restart: always + environment: + - POSTGRES_USER=gitea + - POSTGRES_PASSWORD=gitea + - POSTGRES_DB=gitea + networks: + - gitea + volumes: + - postgres_data:/var/lib/postgresql/data + +volumes: + gitea_data: + postgres_data: \ No newline at end of file diff --git a/hoarder/.env b/hoarder/.env new file mode 100644 index 0000000..03ca518 --- /dev/null +++ b/hoarder/.env @@ -0,0 +1,4 @@ +HOARDER_VERSION=release +NEXTAUTH_SECRET="t$uqz=8POGZ5[W". +MEILI_MASTER_KEY="wy5g;vUzP^)RQ31" +NEXTAUTH_URL=http://localhost:3000 diff --git a/hoarder/docker-compose.yml b/hoarder/docker-compose.yml new file mode 100644 index 0000000..b1bb3ef --- /dev/null +++ b/hoarder/docker-compose.yml @@ -0,0 +1,39 @@ +version: "3.8" +services: + web: + image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release} + restart: unless-stopped + volumes: + - hoarder_data:/data + ports: + - 3000:1003 + env_file: + - .env + environment: + MEILI_ADDR: http://meilisearch:7700 + BROWSER_WEB_URL: http://chrome:9222 + OPENAI_API_KEY: "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" + DATA_DIR: /data + chrome: + image: gcr.io/zenika-hub/alpine-chrome:123 + restart: unless-stopped + command: + - --no-sandbox + - --disable-gpu + - --disable-dev-shm-usage + - --remote-debugging-address=0.0.0.0 + - --remote-debugging-port=9222 + - --hide-scrollbars + meilisearch: + image: getmeili/meilisearch:v1.11.1 + restart: unless-stopped + env_file: + - .env + environment: + MEILI_NO_ANALYTICS: "true" + volumes: + - meilisearch:/meili_data + +volumes: + meilisearch: + hoarder_data: diff --git a/navidrome/docker-compose.yml b/navidrome/docker-compose.yml new file mode 100644 index 0000000..2498392 --- /dev/null +++ b/navidrome/docker-compose.yml @@ -0,0 +1,19 @@ +services: + navidrome: + image: deluan/navidrome:latest + user: 1000:1000 # should be owner of volumes + ports: + - "1002:4533" + restart: unless-stopped + environment: + # Optional: put your config options customization here. Examples: + ND_SCANSCHEDULE: 1h + ND_LOGLEVEL: info + ND_SESSIONTIMEOUT: 24h + ND_BASEURL: "" + volumes: + - "./data:/data" + - "./:/music:ro" + +volumes: + navidrome_data: \ No newline at end of file diff --git a/nextcloud/docker-compose.yml b/nextcloud/docker-compose.yml new file mode 100644 index 0000000..e5454e6 --- /dev/null +++ b/nextcloud/docker-compose.yml @@ -0,0 +1,17 @@ +services: + nextcloud-aio-mastercontainer: + image: nextcloud/all-in-one:latest + container_name: nextcloud-aio-mastercontainer + restart: always + ports: + - "80:80" + - "8080:8080" + - "8443:8443" + volumes: + - nextcloud_aio_mastercontainer:/mnt/docker-aio-config + - /var/run/docker.sock:/var/run/docker.sock:ro + stdin_open: true + tty: true + +volumes: + nextcloud_aio_mastercontainer: diff --git a/olivetin/config.yml b/olivetin/config.yml new file mode 100644 index 0000000..8c11920 --- /dev/null +++ b/olivetin/config.yml @@ -0,0 +1,4 @@ +actions: + - title: backup containers + shell: "docker run --rm -d --privileged -v /home/geezo/Documents/autorestic:/data -v /var/run/docker.sock:/var/run/docker.sock cupcakearmy/autorestic autorestic backup -va -c /data/config.yaml" + icon: smile \ No newline at end of file diff --git a/portainer/docker-compose.yml b/portainer/docker-compose.yml new file mode 100644 index 0000000..5f5e417 --- /dev/null +++ b/portainer/docker-compose.yml @@ -0,0 +1,12 @@ +version: "3" +services: + portainer: + image: portainer/portainer-ce:latest + ports: + - 1000:9443 + volumes: + - portainer_data:/data + - /var/run/docker.sock:/var/run/docker.sock + restart: unless-stopped +volumes: + portainer_data: \ No newline at end of file