first commit

This commit is contained in:
angel
2026-03-12 23:32:36 -04:00
parent c2e081c8f1
commit 6f04810ed2
+29
View File
@@ -0,0 +1,29 @@
services:
db:
image: postgres:15-alpine
container_name: wikijs-db
restart: unless-stopped
environment:
POSTGRES_DB: wiki
POSTGRES_USER: wikijs
POSTGRES_PASSWORD: wikijs # Change this for production!
volumes:
- pgdata:/var/lib/postgresql/data
wiki:
image: ghcr.io/requarks/wiki:2
container_name: wikijs
depends_on:
- db
restart: unless-stopped
environment:
DB_TYPE: postgres
DB_HOST: db
DB_PORT: 5432
DB_USER: wikijs
DB_PASS: wikijs # Must match POSTGRES_PASSWORD
DB_NAME: wiki
ports:
- "8080:3000"
volumes:
pgdata: