add wikijs

This commit is contained in:
Matt Reeves 2024-08-22 20:53:12 -04:00
parent 6a74bbb6d7
commit d81f7e8bc8
4 changed files with 30 additions and 0 deletions

View file

@ -155,6 +155,32 @@ services:
- 21027:21027/udp
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
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:
@ -163,3 +189,4 @@ networks:
volumes:
linkstack:
n8n_data:
db-data:

View file

@ -6,6 +6,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Master" {
name = "K3s-Master"
description = "Kubernetes master"
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
started = false
agent {
enabled = true # read 'Qemu guest agent' section, change to true only when ready

View file

@ -6,6 +6,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Master2" {
name = "K3s-Master2"
description = "Kubernetes Master"
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
started = false
agent {
enabled = true # read 'Qemu guest agent' section, change to true only when ready

View file

@ -6,6 +6,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Master3" {
name = "K3s-Master3"
description = "Kubernetes master"
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
started = false
agent {
enabled = true # read 'Qemu guest agent' section, change to true only when ready