chore: setup project and scripts

This commit is contained in:
吴璨
2026-09-30 10:16:50 +08:00
commit 52451ae4b5
16 changed files with 816 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
name: guoguo-juku
services:
app:
image: ${JUKU_IMAGE:-guoguo-juku:local}
pull_policy: build
build:
context: .
args:
GO_IMAGE: ${JUKU_GO_IMAGE:-golang:1.26-bookworm}
RUNTIME_IMAGE: ${JUKU_RUNTIME_IMAGE:-debian:bookworm-slim}
ports:
- "${JUKU_BIND_ADDRESS:-0.0.0.0}:${JUKU_PORT:-8999}:8999"
environment:
TZ: ${TZ:-Asia/Shanghai}
JUKU_PROXY_URL: ${JUKU_PROXY_URL:-}
JUKU_ADMIN_USER: ${JUKU_ADMIN_USER:-}
JUKU_ADMIN_PASSWORD: ${JUKU_ADMIN_PASSWORD:-}
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- data:/data
- downloads:/downloads
restart: unless-stopped
stop_grace_period: 30s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
volumes:
data:
downloads: