update
This commit is contained in:
3
.env.example
Normal file
3
.env.example
Normal file
@@ -0,0 +1,3 @@
|
||||
# Lokal einmal 'claude setup-token' ausführen und Token hier eintragen.
|
||||
# Datei nach .env kopieren (wird nicht committet).
|
||||
CLAUDE_CODE_OAUTH_TOKEN=
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ frontend/dist/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
.claude-data/
|
||||
.env
|
||||
|
||||
5
Makefile
5
Makefile
@@ -4,9 +4,10 @@ COMPOSE = docker compose
|
||||
|
||||
auth:
|
||||
@mkdir -p .claude-data storage projects
|
||||
@cp -aT /root/.claude .claude-data
|
||||
@chown -R 1000:1000 .claude-data storage projects
|
||||
@echo "Claude-Auth nach .claude-data synct, storage/projects chowned auf uid 1000."
|
||||
@grep -q "^CLAUDE_CODE_OAUTH_TOKEN=.\+" .env 2>/dev/null \
|
||||
|| echo "WARNUNG: CLAUDE_CODE_OAUTH_TOKEN fehlt in .env. Lokal 'claude setup-token' ausführen und Token eintragen."
|
||||
@echo "Verzeichnisse angelegt und auf uid 1000 chowned."
|
||||
|
||||
install:
|
||||
sudo apt install -y poppler-utils libpango-1.0-0 libcairo2 libgdk-pixbuf-2.0-0 libffi-dev
|
||||
|
||||
@@ -4,6 +4,8 @@ services:
|
||||
context: .
|
||||
container_name: guides
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- CLAUDE_CODE_OAUTH_TOKEN=${CLAUDE_CODE_OAUTH_TOKEN:-}
|
||||
networks:
|
||||
- web
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user