Skip to content

NeHex/nehex-core

Repository files navigation

NeHex Core

技术栈

  • Rust + Axum
  • SQLx
  • PostgreSQL
  • Redis(分布式缓存)
  • Vue 3 + Vuetify(后台管理端)

中国大陆网络加速

项目已内置以下国内镜像优化:

  • Cargonehex-core/.cargo/config.toml 使用阿里云 mirrors.aliyun.com(sparse index)
  • npmapp/nehex-admin/.npmrc 使用 registry.npmmirror.com(阿里系镜像)
  • DockerDockerfiledocker-compose.yml 默认使用官方仓库 docker.io

如需使用镜像加速,可覆盖环境变量(DOCKERHUB_MIRROR 仅填写 registry 域名,不要带 http(s)://):

DOCKERHUB_MIRROR=docker.mirrors.ustc.edu.cn
POSTGRES_IMAGE=postgres:16-alpine
REDIS_IMAGE=redis:7.2-alpine