feat: migrate Osaka node to full sing-box

This commit is contained in:
Codex
2026-09-01 23:25:30 -07:00
parent 4ed88a46c5
commit 2fe6976d18
13 changed files with 162 additions and 53 deletions
+39
View File
@@ -0,0 +1,39 @@
services:
adc-init:
image: alpine:3.24
restart: "no"
environment:
GOOGLE_ADC_B64: ${GOOGLE_ADC_B64}
volumes:
- google-adc:/credentials
command:
- /bin/sh
- -c
- |
umask 077
printf '%s' "$${GOOGLE_ADC_B64}" | base64 -d > /credentials/application_default_credentials.json
litellm:
image: ghcr.io/berriai/litellm:main-stable
restart: unless-stopped
depends_on:
adc-init:
condition: service_completed_successfully
network_mode: host
environment:
GOOGLE_APPLICATION_CREDENTIALS: /credentials/application_default_credentials.json
VERTEXAI_PROJECT: ${VERTEXAI_PROJECT}
VERTEXAI_LOCATION: ${VERTEXAI_LOCATION:-global}
LITELLM_MASTER_KEY: ${LITELLM_MASTER_KEY}
volumes:
- ./config.yaml:/app/config.yaml:ro
- google-adc:/credentials:ro
command: ["--config", "/app/config.yaml", "--host", "${LISTEN_IP:-127.0.0.1}", "--port", "${LITELLM_PORT:-1049}"]
logging:
driver: json-file
options:
max-size: 1m
max-file: "2"
volumes:
google-adc: