Compare commits
9 commits
210b900a71
...
a6538d6ea7
Author | SHA1 | Date | |
---|---|---|---|
a6538d6ea7 | |||
576c89bc11 | |||
52fd49d959 | |||
91708a96cc | |||
62e051e2b5 | |||
71dc8073f8 | |||
8de884195f | |||
d81f7e8bc8 | |||
a6eb4a3ea7 |
7 changed files with 43 additions and 8 deletions
|
@ -155,6 +155,37 @@ services:
|
||||||
- 21027:21027/udp
|
- 21027:21027/udp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
wiki-db:
|
||||||
|
image: postgres:15-alpine
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: wiki
|
||||||
|
POSTGRES_PASSWORD: $DB_PASS
|
||||||
|
POSTGRES_USER: wikijs
|
||||||
|
logging:
|
||||||
|
driver: "none"
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- db-data:/var/lib/postgresql/data
|
||||||
|
networks:
|
||||||
|
- gitea_main
|
||||||
|
|
||||||
|
wiki:
|
||||||
|
container_name: wiki
|
||||||
|
image: ghcr.io/requarks/wiki:2.5.303
|
||||||
|
depends_on:
|
||||||
|
- wiki-db
|
||||||
|
environment:
|
||||||
|
DB_TYPE: postgres
|
||||||
|
DB_HOST: wiki-db
|
||||||
|
DB_PORT: 5432
|
||||||
|
DB_USER: wikijs
|
||||||
|
DB_PASS: $DB_PASS
|
||||||
|
DB_NAME: wiki
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "1234:3000"
|
||||||
|
networks:
|
||||||
|
- gitea_main
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
gitea_main:
|
gitea_main:
|
||||||
|
@ -163,3 +194,4 @@ networks:
|
||||||
volumes:
|
volumes:
|
||||||
linkstack:
|
linkstack:
|
||||||
n8n_data:
|
n8n_data:
|
||||||
|
db-data:
|
||||||
|
|
|
@ -57,7 +57,7 @@ services:
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
|
|
||||||
sonarr:
|
sonarr:
|
||||||
image: ghcr.io/linuxserver/sonarr@sha256:bffa87787eacff9023df4400f521c159566d14b5a280caec8b54196071e6038e
|
image: ghcr.io/linuxserver/sonarr@sha256:0777b308a414000505651059a95af373ded6aba8ce5a40b50d7aad333dc912e2
|
||||||
container_name: sonarr
|
container_name: sonarr
|
||||||
ports:
|
ports:
|
||||||
- "8989:8989"
|
- "8989:8989"
|
||||||
|
|
|
@ -32,7 +32,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- redis:/data
|
- redis:/data
|
||||||
server:
|
server:
|
||||||
image: ghcr.io/goauthentik/server@sha256:f79b6cf35b29a8591136afb633ddd46da303e9cd2ca82c7cdfbd020a780e15e8
|
image: ghcr.io/goauthentik/server@sha256:ec5683345b6283214e01112dd4ba4ac7af1fc638a6e2301e6c18b7f3036f27bc
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: server
|
command: server
|
||||||
environment:
|
environment:
|
||||||
|
@ -53,7 +53,7 @@ services:
|
||||||
- postgresql
|
- postgresql
|
||||||
- redis
|
- redis
|
||||||
worker:
|
worker:
|
||||||
image: ghcr.io/goauthentik/server@sha256:f79b6cf35b29a8591136afb633ddd46da303e9cd2ca82c7cdfbd020a780e15e8
|
image: ghcr.io/goauthentik/server@sha256:ec5683345b6283214e01112dd4ba4ac7af1fc638a6e2301e6c18b7f3036f27bc
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: worker
|
command: worker
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -6,6 +6,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Master" {
|
||||||
name = "K3s-Master"
|
name = "K3s-Master"
|
||||||
description = "Kubernetes master"
|
description = "Kubernetes master"
|
||||||
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
|
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
|
||||||
|
started = false
|
||||||
|
|
||||||
agent {
|
agent {
|
||||||
enabled = true # read 'Qemu guest agent' section, change to true only when ready
|
enabled = true # read 'Qemu guest agent' section, change to true only when ready
|
||||||
|
|
|
@ -6,6 +6,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Master2" {
|
||||||
name = "K3s-Master2"
|
name = "K3s-Master2"
|
||||||
description = "Kubernetes Master"
|
description = "Kubernetes Master"
|
||||||
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
|
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
|
||||||
|
started = false
|
||||||
|
|
||||||
agent {
|
agent {
|
||||||
enabled = true # read 'Qemu guest agent' section, change to true only when ready
|
enabled = true # read 'Qemu guest agent' section, change to true only when ready
|
||||||
|
|
|
@ -6,6 +6,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Master3" {
|
||||||
name = "K3s-Master3"
|
name = "K3s-Master3"
|
||||||
description = "Kubernetes master"
|
description = "Kubernetes master"
|
||||||
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
|
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
|
||||||
|
started = false
|
||||||
|
|
||||||
agent {
|
agent {
|
||||||
enabled = true # read 'Qemu guest agent' section, change to true only when ready
|
enabled = true # read 'Qemu guest agent' section, change to true only when ready
|
||||||
|
|
|
@ -2,17 +2,17 @@ resource "proxmox_virtual_environment_vm" "Runner" {
|
||||||
|
|
||||||
# VM General Settings
|
# VM General Settings
|
||||||
node_name = "prox"
|
node_name = "prox"
|
||||||
vm_id = 207
|
vm_id = 952
|
||||||
name = "Runner"
|
name = "Runner"
|
||||||
description = "Forgejo Runner"
|
description = "Forgejo Runner for iac"
|
||||||
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
|
tags = ["tofu", "ubuntu-22", "iac-repo", "infrastructure"]
|
||||||
|
|
||||||
agent {
|
agent {
|
||||||
enabled = true # read 'Qemu guest agent' section, change to true only when ready
|
enabled = true # read 'Qemu guest agent' section, change to true only when ready
|
||||||
}
|
}
|
||||||
|
|
||||||
clone {
|
clone {
|
||||||
vm_id = 8000
|
vm_id = 8100
|
||||||
}
|
}
|
||||||
|
|
||||||
# VM CPU Settings
|
# VM CPU Settings
|
||||||
|
@ -35,7 +35,7 @@ resource "proxmox_virtual_environment_vm" "Runner" {
|
||||||
# VM Disk Settings
|
# VM Disk Settings
|
||||||
disk {
|
disk {
|
||||||
datastore_id = "Fast2Tb"
|
datastore_id = "Fast2Tb"
|
||||||
size = 60
|
size = 40
|
||||||
interface = "scsi0"
|
interface = "scsi0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue