Implement Knowledge City platform, organizer and DAV integration

Capture accumulated application, UI, CLI, regression tests and design documentation changes, including task project mapping and default CalDAV list naming.

Keep deployment data, backups, local credentials and build artifacts out of Git. Move the Compose enrollment token to an ignored local environment file.
This commit is contained in:
Anya Tokugawa committed 2026-09-27 14:44:43 +09:00
1 parent 288e6e94ac
commit c1175d389f
699 files changed
+110197 -4117

No files matched your search

+94 -11
View File
@@ -1,23 +1,97 @@
services:
nginx:
container_name: pageswiki-proxy
image: nginx:1.27-alpine
restart: unless-stopped
ports:
- "8080:80"
volumes:
- ./deploy/nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- app
app:
container_name: pageswiki
build: .
image: pageswiki-app
networks:
default:
aliases:
- extpages.anya.jp
volumes:
- ./data:/data
ports:
- "3000:3000"
environment:
PAGESWIKI_DATA_DIR: /data
KROKI_URL: http://kroki:8000
PAGESWIKI_ADAPTER_GATEWAY_ORIGIN: http://adaptor-gateway:3000
extra_hosts:
- "id.anya.jp:172.18.0.10"
healthcheck:
test: ["CMD", "wget", "-q", "-O", "-", "http://localhost:3000/health"]
interval: 2s
timeout: 1s
retries: 15
restart: unless-stopped
app2:
container_name: pageswiki-ext
image: pageswiki-app
command: >
/pageswiki --no-default-campus --add-external-campus-http extpages.anya.jp:3000 ${PAGESWIKI_EXTERNAL_CAMPUS_TOKEN:?Set PAGESWIKI_EXTERNAL_CAMPUS_TOKEN in .env}
volumes:
- ./data2:/data
ports:
- "3001:3000"
environment:
PAGESWIKI_INSTANCE_FQDN: ext-node-pages.anya.jp
PAGESWIKI_DATA_DIR: /data
KROKI_URL: http://kroki:8000
extra_hosts:
- "id.anya.jp:172.18.0.10"
depends_on:
app:
condition: service_healthy
restart: unless-stopped
adaptor-gateway:
container_name: pageswiki-adaptor-gateway
build:
context: .
dockerfile: Dockerfile.adapter-gateway
environment:
PAGESWIKI_ORIGIN: http://app:3000
CODE_SERVER_ORIGIN: http://code-server:8080
EXCALIDRAW_VIEWER_ORIGIN: http://excalidraw-viewer:8080
volumes:
- adapter-workspaces:/workspaces
expose:
- "3000"
depends_on:
app:
condition: service_healthy
code-server:
condition: service_started
excalidraw-viewer:
condition: service_healthy
restart: unless-stopped
code-server:
container_name: pageswiki-code-server
image: codercom/code-server:latest
command:
- --bind-addr
- 0.0.0.0:8080
- --auth
- none
- --disable-telemetry
- --disable-proxy
- --disable-getting-started-override
- /workspaces
expose:
- "8080"
volumes:
- adapter-workspaces:/workspaces
restart: unless-stopped
excalidraw-viewer:
container_name: pageswiki-excalidraw-viewer
build:
context: .
dockerfile: Dockerfile.excalidraw-viewer
expose:
- "8080"
healthcheck:
test: ["CMD", "wget", "-q", "-O", "-", "http://127.0.0.1:8080/health"]
interval: 5s
timeout: 2s
retries: 12
restart: unless-stopped
kroki:
image: yuzutech/kroki
@@ -34,3 +108,12 @@ services:
restart: unless-stopped
expose:
- "8002"
volumes:
adapter-workspaces:
networks:
default:
ipam:
config:
- subnet: 172.23.0.0/27