Compare commits

..

2 Commits

Author SHA1 Message Date
junleea f11e9ffa61 修改docker运行的配置文件 2025-06-12 19:27:48 +08:00
junleea d63d641058 修改Dockerfile,修改token拦截的返回 2025-06-12 18:45:21 +08:00
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags="-s -w" -o
FROM scratch
# 复制配置文件
COPY --from=builder /app/vp.conf /home/videoplayer/vp.conf
COPY --from=builder /app/saw-ai.conf /home/saw/saw-ai.conf
# 复制二进制文件
COPY --from=builder /app/videoplayer /home/videoplayer/videoplayer

View File

@ -2,11 +2,11 @@
"db":0,
"mysql_dsn":"vp-db:ZcxsP7s7kaBxxDPc@tcp(tx.ljsea.top:3306)/vp-db?charset=utf8mb4&parseTime=True&loc=Local",
"pg_dsn":"host=localhost user=video_t2 dbname=video_t2 password=2t2SKHmWEYj2xFKF port=5432 TimeZone=Asia/Shanghai",
"redis_addr":"host.docker.internal:6379",
"redis_addr":"tx.ljsea.top:6379",
"redis_db":2,
"redis_user_pw":true,
"token_use_redis":false,
"redis_password":"lj502138",
"redis_password":"vbgyfea87423wear",
"token_secret":"mfjurnc_32ndj9dfhj",
"cid_base_dir":"/home/lijun/cid/",
"file_base_dir":"/home/lijun/file/",