vanegmondgroep/sip-stack
Composer 安装命令:
composer create-project vanegmondgroep/sip-stack
包简介
Stack configuration for the Smart Industry Platform.
README 文档
README
Stack configuration for the Smart Industry Platform.
Requirements
- Ubuntu 20.04
- Composer
- Docker
- Docker Compose
Installation
- Authenticate to the GitHub container registry with your username and a personal access token as password (permissions:
read:packages):
docker login ghcr.io
- Create a new SIP Stack project (replace
<client>and<project>):
composer create-project vanegmondgroep/sip-stack sip-<client>-<project>
- Run the following commands to initialize the stack:
# Start containers ./sip up -d # Migrate the database ./sip artisan migrate --seed # Generate application key ./sip artisan key:generate
- Navigate to
http://<ip-address>/registerand register a new user.
Configuration
Backups
Add the following line to the .env file if you would like to move backups to another location (for example a network share):
BACKUPS_PATH=/mnt/share/Backups
Exports
Modify ./config/export.flux to change the InfluxDB export query and add the following line to the .env file if you would like to move exports to another location (for example a network share):
EXPORTS_PATH=/mnt/share/Exports
Cleanup
Add the following line to the .env file to automatically cleanup backups and exports after x days:
CLEANUP_DAYS=30
Cronjobs
Configure a cronjob to automatically export or backup data:
- Open crontab:
crontab -e
- Add the following lines (replace
<path-to-sip>):
# Export data
0 0 * * * <path-to-sip>/sip export > ~/sip-export.log 2>&1
# Backup data
0 1 * * * <path-to-sip>/sip backup > ~/sip-backup.log 2>&1
Commands
# Start containers ./sip up -d # Stop containers ./sip down # Start container shell ./sip bash # Backup container data ./sip backup # Export log data ./sip export
vanegmondgroep/sip-stack 适用场景与选型建议
vanegmondgroep/sip-stack 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 30 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 12 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 vanegmondgroep/sip-stack 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 vanegmondgroep/sip-stack 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-12-07