binio minio

This commit is contained in:
Jake Howard 2025-11-11 16:18:32 +00:00
parent 956be635c1
commit 81348d02c3
No known key found for this signature in database
GPG key ID: 57AFB45680EDD477
7 changed files with 0 additions and 88 deletions

View file

@ -72,7 +72,6 @@
- forgejo
- vikunja
- pocket_id
- minio
- ntfy
- baby_buddy
- immich

View file

@ -1,31 +0,0 @@
services:
minio:
image: quay.io/minio/minio:RELEASE.2025-04-22T22-12-26Z
command: server /data --console-address ":9090"
user: "{{ docker_user.id }}"
environment:
- TZ={{ timezone }}
- MINIO_ROOT_USER=jake
- MINIO_ROOT_PASSWORD={{ vault_minio_root_password }}
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.minio-console.rule=Host(`minio.jakehoward.tech`)
- traefik.http.routers.minio-console.service=minio-console
- traefik.http.services.minio-console.loadbalancer.server.port=9090
- traefik.http.routers.minio-console.middlewares=tailscale-only@file
- traefik.http.routers.minio-s3.rule=Host(`s3.jakehoward.tech`)
- traefik.http.routers.minio-s3.service=minio-s3
- traefik.http.services.minio-s3.loadbalancer.server.port=9000
- traefik.http.routers.minio-s3.middlewares=tailscale-only@file
volumes:
- /mnt/tank/files/minio:/data
networks:
- default
- traefik
networks:
traefik:
external: true

View file

@ -1,4 +0,0 @@
- name: restart minio
shell:
chdir: /opt/minio
cmd: "{{ docker_update_command }}"

View file

@ -1,18 +0,0 @@
- name: Include vault
include_vars: vault.yml
- name: Create install directory
file:
path: /opt/minio
state: directory
owner: "{{ docker_user.name }}"
mode: "{{ docker_compose_directory_mask }}"
- name: Install compose file
template:
src: files/docker-compose.yml
dest: /opt/minio/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: docker-compose -f %s config
notify: restart minio

View file

@ -1,9 +0,0 @@
$ANSIBLE_VAULT;1.1;AES256
38666632613233313534666339373331396438323131643238356235323535303430373733353737
6330313565333032333461623361333232633836343163650a663762653233303832333936646364
66623566393464323537376666353631383464373030616263383536393735316336636636356332
6639383839666563330a323166336565636634306538633761333338366637643162633133353164
39306166373131303464373530373163626538623735393962306237663634326264323339643634
37323564373839356434343836373631323162663038393861383934306538313262326637653537
62653766623734343231633262636237366433363932316631393237633135636538623362373963
39303531656431623733

View file

@ -233,26 +233,6 @@ resource "gandi_livedns_record" "jakehowardtech_auth" {
]
}
resource "gandi_livedns_record" "jakehowardtech_minio" {
zone = data.gandi_livedns_domain.jakehowardtech.id
name = "minio"
type = "CNAME"
ttl = 3600
values = [
"${gandi_livedns_record.sys_domain_pve_private.name}.${gandi_livedns_record.sys_domain_pve_private.zone}."
]
}
resource "gandi_livedns_record" "jakehowardtech_s3" {
zone = data.gandi_livedns_domain.jakehowardtech.id
name = "s3"
type = "CNAME"
ttl = 3600
values = [
"${gandi_livedns_record.sys_domain_pve_private.name}.${gandi_livedns_record.sys_domain_pve_private.zone}."
]
}
resource "gandi_livedns_record" "jakehowardtech_ntfy" {
zone = data.gandi_livedns_domain.jakehowardtech.id
name = "ntfy"

View file

@ -2,10 +2,6 @@ resource "aws_iam_user" "terraform" {
name = "terraform"
}
resource "aws_iam_user" "minio" {
name = "minio"
}
resource "aws_s3_bucket" "tfstate" {
bucket = "0rng-terraform"
}
@ -90,7 +86,6 @@ EOF
resource "aws_iam_user_policy_attachment" "terraform-state" {
for_each = toset([
aws_iam_user.terraform.name,
aws_iam_user.minio.name,
])
user = each.key