Skip to content

Commit d81f7e8

Browse files
committedAug 23, 2024
add wikijs
1 parent 6a74bbb commit d81f7e8

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed
 

‎docker/arm/docker-compose.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,33 @@ services:
154154
- 22000:22000/udp
155155
- 21027:21027/udp
156156
restart: unless-stopped
157+
158+
wiki-db:
159+
image: postgres:15-alpine
160+
environment:
161+
POSTGRES_DB: wiki
162+
POSTGRES_PASSWORD: $DB_PASS
163+
POSTGRES_USER: wikijs
164+
logging:
165+
driver: "none"
166+
restart: unless-stopped
167+
volumes:
168+
- db-data:/var/lib/postgresql/data
157169

170+
wiki:
171+
image: ghcr.io/requarks/wiki:2.5.303
172+
depends_on:
173+
- wiki-db
174+
environment:
175+
DB_TYPE: postgres
176+
DB_HOST: wiki-db
177+
DB_PORT: 5432
178+
DB_USER: wikijs
179+
DB_PASS: $DB_PASS
180+
DB_NAME: wiki
181+
restart: unless-stopped
182+
ports:
183+
- "1234:3000"
158184

159185
networks:
160186
gitea_main:
@@ -163,3 +189,4 @@ networks:
163189
volumes:
164190
linkstack:
165191
n8n_data:
192+
db-data:

‎terraform/k3s-master.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Master" {
66
name = "K3s-Master"
77
description = "Kubernetes master"
88
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
9+
started = false
910

1011
agent {
1112
enabled = true # read 'Qemu guest agent' section, change to true only when ready

‎terraform/k3s-master2.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Master2" {
66
name = "K3s-Master2"
77
description = "Kubernetes Master"
88
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
9+
started = false
910

1011
agent {
1112
enabled = true # read 'Qemu guest agent' section, change to true only when ready

‎terraform/k3s-master3.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Master3" {
66
name = "K3s-Master3"
77
description = "Kubernetes master"
88
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
9+
started = false
910

1011
agent {
1112
enabled = true # read 'Qemu guest agent' section, change to true only when ready

0 commit comments

Comments
 (0)
Please sign in to comment.