mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-05 22:05:50 +00:00
Compare commits
70 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4de6ea1e30 | ||
|
|
de374069dd | ||
|
|
dd5accecef | ||
|
|
cae2774632 | ||
|
|
b399d0092c | ||
|
|
b056a07fa2 | ||
|
|
90a590e156 | ||
|
|
bcb1470138 | ||
|
|
9cba77709f | ||
|
|
0cab9b816b | ||
|
|
ba6cdd9db3 | ||
|
|
915293d9b1 | ||
|
|
fe41262c89 | ||
|
|
5cc39304e0 | ||
|
|
b7d87c5ad7 | ||
|
|
fa9a43ae49 | ||
|
|
ef5464aede | ||
|
|
25601cee70 | ||
|
|
3ebc6d11cc | ||
|
|
27f1b26684 | ||
|
|
3adc943450 | ||
|
|
2a8c5cb130 | ||
|
|
8212eceb50 | ||
|
|
4ffc2c750e | ||
|
|
b55f37ffdf | ||
|
|
f60e72e96d | ||
|
|
d46d22e6cc | ||
|
|
190394e853 | ||
|
|
96dfd6e48a | ||
|
|
07606b8d15 | ||
|
|
1d75130724 | ||
|
|
1bb3569518 | ||
|
|
f974b07000 | ||
|
|
fdcd526f7b | ||
|
|
fb93443aff | ||
|
|
3c122d6897 | ||
|
|
d73a381141 | ||
|
|
8b23afc08a | ||
|
|
32b9db4da9 | ||
|
|
dd95ab14d4 | ||
|
|
46ea479102 | ||
|
|
ed5fe522fe | ||
|
|
68ce0167e3 | ||
|
|
554c5cdbea | ||
|
|
95df545e62 | ||
|
|
d55edb73eb | ||
|
|
2578a5302f | ||
|
|
827040336c | ||
|
|
c919b13943 | ||
|
|
afac4c7788 | ||
|
|
d1dee5789e | ||
|
|
797de1d38c | ||
|
|
10dcc4bab8 | ||
|
|
59aab8c9cc | ||
|
|
c7707d6c8e | ||
|
|
9809ebe28e | ||
|
|
5dbce3edfd | ||
|
|
61bedf737b | ||
|
|
49b8858cad | ||
|
|
7c698ee8c9 | ||
|
|
38679fcd07 | ||
|
|
6fcee898d8 | ||
|
|
c9920cceb6 | ||
|
|
2b98d488fc | ||
|
|
59f4188465 | ||
|
|
ad8adbf1c3 | ||
|
|
4439c75158 | ||
|
|
26345ab075 | ||
|
|
a0cee3444b | ||
|
|
b0abd6129f |
10
.github/ISSUE_TEMPLATE/custom.md
vendored
Normal file
10
.github/ISSUE_TEMPLATE/custom.md
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
name: Custom issue template
|
||||
about: Describe this issue template's purpose here.
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
|
||||
17
.github/ISSUE_TEMPLATE/📚-docs-feedback.md
vendored
Normal file
17
.github/ISSUE_TEMPLATE/📚-docs-feedback.md
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: "\U0001F4DA Docs Feedback"
|
||||
about: Improve Fleetbase Documentation
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the improvement**
|
||||
A clear and concise description of documentation improvement .
|
||||
|
||||
**Related Page**
|
||||
Which section and page is this improvement related to? .
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the improvement here.
|
||||
20
.github/ISSUE_TEMPLATE/🚀-feature-request.md
vendored
Normal file
20
.github/ISSUE_TEMPLATE/🚀-feature-request.md
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: "\U0001F680 Feature request"
|
||||
about: Submit a proposal for a new feature
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
41
.github/ISSUE_TEMPLATE/🪲bug-report.md
vendored
Normal file
41
.github/ISSUE_TEMPLATE/🪲bug-report.md
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
name: "\U0001FAB2Bug Report"
|
||||
about: Report a bug to help us improve.
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Logs (if relevant)**
|
||||
Any log relevant log messages or snippets
|
||||
|
||||
**Desktop (please complete the following information):**
|
||||
- OS: [e.g. iOS]
|
||||
- Browser [e.g. chrome, safari]
|
||||
- Version [e.g. 22]
|
||||
|
||||
**Smartphone (please complete the following information):**
|
||||
- Device: [e.g. iPhone6]
|
||||
- OS: [e.g. iOS8.1]
|
||||
- Browser [e.g. stock browser, safari]
|
||||
- Version [e.g. 22]
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
47
.github/workflows/ci.yml
vendored
47
.github/workflows/ci.yml
vendored
@@ -7,24 +7,53 @@ on:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
env:
|
||||
REGISTRY: ghcr.io/fleetbase
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and Start Docker Services
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Install Docker Compose
|
||||
run: |
|
||||
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
||||
sudo chmod +x /usr/local/bin/docker-compose
|
||||
docker-compose --version
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Build and Start Docker Services
|
||||
run: |
|
||||
docker-compose up -d --build
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
uses: docker/metadata-action@v4
|
||||
with:
|
||||
# this will be replaced by docker buildx bake with an empty line
|
||||
# to get just tags without the image name
|
||||
images: |
|
||||
willbereplaced
|
||||
tags: |
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
||||
- name: Build and release
|
||||
if: startsWith(github.ref, 'refs/tags/') && success()
|
||||
env:
|
||||
# get tags from the json object and pass as a string-encoded list
|
||||
tags: "${{ toJSON(fromJSON(steps.meta.outputs.json).tags) }}"
|
||||
uses: docker/bake-action@v2
|
||||
with:
|
||||
push: true
|
||||
files: |
|
||||
./docker-bake.hcl
|
||||
${{ steps.meta.outputs.bake-file }}
|
||||
|
||||
1
.gitmodules
vendored
1
.gitmodules
vendored
@@ -1,6 +1,7 @@
|
||||
[submodule "console"]
|
||||
path = console
|
||||
url = git@github.com:fleetbase/console.git
|
||||
branch = main
|
||||
[submodule "packages/core-api"]
|
||||
path = packages/core-api
|
||||
url = git@github.com:fleetbase/core-api.git
|
||||
|
||||
128
CODE_OF_CONDUCT.md
Normal file
128
CODE_OF_CONDUCT.md
Normal file
@@ -0,0 +1,128 @@
|
||||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
We as members, contributors, and leaders pledge to make participation in our
|
||||
community a harassment-free experience for everyone, regardless of age, body
|
||||
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||
identity and expression, level of experience, education, socio-economic status,
|
||||
nationality, personal appearance, race, religion, or sexual identity
|
||||
and orientation.
|
||||
|
||||
We pledge to act and interact in ways that contribute to an open, welcoming,
|
||||
diverse, inclusive, and healthy community.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to a positive environment for our
|
||||
community include:
|
||||
|
||||
* Demonstrating empathy and kindness toward other people
|
||||
* Being respectful of differing opinions, viewpoints, and experiences
|
||||
* Giving and gracefully accepting constructive feedback
|
||||
* Accepting responsibility and apologizing to those affected by our mistakes,
|
||||
and learning from the experience
|
||||
* Focusing on what is best not just for us as individuals, but for the
|
||||
overall community
|
||||
|
||||
Examples of unacceptable behavior include:
|
||||
|
||||
* The use of sexualized language or imagery, and sexual attention or
|
||||
advances of any kind
|
||||
* Trolling, insulting or derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or email
|
||||
address, without their explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Enforcement Responsibilities
|
||||
|
||||
Community leaders are responsible for clarifying and enforcing our standards of
|
||||
acceptable behavior and will take appropriate and fair corrective action in
|
||||
response to any behavior that they deem inappropriate, threatening, offensive,
|
||||
or harmful.
|
||||
|
||||
Community leaders have the right and responsibility to remove, edit, or reject
|
||||
comments, commits, code, wiki edits, issues, and other contributions that are
|
||||
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
||||
decisions when appropriate.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies within all community spaces, and also applies when
|
||||
an individual is officially representing the community in public spaces.
|
||||
Examples of representing our community include using an official e-mail address,
|
||||
posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported to the community leaders responsible for enforcement at
|
||||
hello@fleetbase.io.
|
||||
All complaints will be reviewed and investigated promptly and fairly.
|
||||
|
||||
All community leaders are obligated to respect the privacy and security of the
|
||||
reporter of any incident.
|
||||
|
||||
## Enforcement Guidelines
|
||||
|
||||
Community leaders will follow these Community Impact Guidelines in determining
|
||||
the consequences for any action they deem in violation of this Code of Conduct:
|
||||
|
||||
### 1. Correction
|
||||
|
||||
**Community Impact**: Use of inappropriate language or other behavior deemed
|
||||
unprofessional or unwelcome in the community.
|
||||
|
||||
**Consequence**: A private, written warning from community leaders, providing
|
||||
clarity around the nature of the violation and an explanation of why the
|
||||
behavior was inappropriate. A public apology may be requested.
|
||||
|
||||
### 2. Warning
|
||||
|
||||
**Community Impact**: A violation through a single incident or series
|
||||
of actions.
|
||||
|
||||
**Consequence**: A warning with consequences for continued behavior. No
|
||||
interaction with the people involved, including unsolicited interaction with
|
||||
those enforcing the Code of Conduct, for a specified period of time. This
|
||||
includes avoiding interactions in community spaces as well as external channels
|
||||
like social media. Violating these terms may lead to a temporary or
|
||||
permanent ban.
|
||||
|
||||
### 3. Temporary Ban
|
||||
|
||||
**Community Impact**: A serious violation of community standards, including
|
||||
sustained inappropriate behavior.
|
||||
|
||||
**Consequence**: A temporary ban from any sort of interaction or public
|
||||
communication with the community for a specified period of time. No public or
|
||||
private interaction with the people involved, including unsolicited interaction
|
||||
with those enforcing the Code of Conduct, is allowed during this period.
|
||||
Violating these terms may lead to a permanent ban.
|
||||
|
||||
### 4. Permanent Ban
|
||||
|
||||
**Community Impact**: Demonstrating a pattern of violation of community
|
||||
standards, including sustained inappropriate behavior, harassment of an
|
||||
individual, or aggression toward or disparagement of classes of individuals.
|
||||
|
||||
**Consequence**: A permanent ban from any sort of public interaction within
|
||||
the community.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
||||
version 2.0, available at
|
||||
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
||||
|
||||
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
||||
enforcement ladder](https://github.com/mozilla/diversity).
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
For answers to common questions about this code of conduct, see the FAQ at
|
||||
https://www.contributor-covenant.org/faq. Translations are available at
|
||||
https://www.contributor-covenant.org/translations.
|
||||
47
CONTRIBUTING.md
Normal file
47
CONTRIBUTING.md
Normal file
@@ -0,0 +1,47 @@
|
||||
# Contributing to Fleetbase
|
||||
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
|
||||
|
||||
- Reporting a bug
|
||||
- Discussing the current state of the code
|
||||
- Submitting a fix
|
||||
- Proposing new features
|
||||
- Becoming a maintainer
|
||||
|
||||
## We Develop with Github
|
||||
We use github to host code, to track issues and feature requests, as well as accept pull requests.
|
||||
|
||||
## We Use [Github Flow](https://guides.github.com/introduction/flow/index.html), So All Code Changes Happen Through Pull Requests
|
||||
Pull requests are the best way to propose changes to the codebase (we use [Github Flow](https://guides.github.com/introduction/flow/index.html)). We actively welcome your pull requests:
|
||||
|
||||
1. Fork the repo and create your branch from `master`.
|
||||
2. If you've added code that should be tested, add tests.
|
||||
3. If you've changed APIs, update the documentation.
|
||||
4. Ensure the test suite passes.
|
||||
5. Make sure your code lints.
|
||||
6. Issue that pull request!
|
||||
|
||||
## Any contributions you make will be under the MIT Software License
|
||||
In short, when you submit code changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern.
|
||||
|
||||
## Report bugs using Github's [issues](https://github.com/fleetbase/fleetbase/issues)
|
||||
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/fleetbase/fleetbase/issues), it's that easy!
|
||||
|
||||
## Write bug reports with detail, background, and sample code
|
||||
|
||||
**Great Bug Reports** tend to have:
|
||||
|
||||
- A quick summary and/or background
|
||||
- Steps to reproduce
|
||||
- Be specific!
|
||||
- Give sample code if you can.
|
||||
- What you expected would happen
|
||||
- What actually happens
|
||||
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
|
||||
|
||||
People *love* thorough bug reports. I'm not even kidding.
|
||||
|
||||
## License
|
||||
By contributing, you agree that your contributions will be licensed under its MIT License.
|
||||
|
||||
## References
|
||||
This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md)
|
||||
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 Fleetbase Pte Ltd
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
12
PULL_REQUEST_TEMPLATE.md
Normal file
12
PULL_REQUEST_TEMPLATE.md
Normal file
@@ -0,0 +1,12 @@
|
||||
### What change does this PR introduce?
|
||||
|
||||
<!-- Explain here the changes your PR introduces and text to help us understand the context of this change. -->
|
||||
|
||||
### Why was this change needed?
|
||||
|
||||
<!-- If your PR fixes an open issue, use `Closes #999` to link your PR with the issue. #999 stands for the issue number you are fixing, Example: Closes #31 -->
|
||||
|
||||
### Other information (Screenshots)
|
||||
|
||||
<!-- Add notes or any other information here -->
|
||||
<!-- Also add all the screenshots which support your changes -->
|
||||
86
README.md
86
README.md
@@ -5,33 +5,44 @@
|
||||
</a>
|
||||
</p>
|
||||
<p align="center" dir="auto">
|
||||
Open Source Logistics & Supply Chain Platform and Infrastructure
|
||||
Open Source Modular Logistics Platform
|
||||
<br>
|
||||
<a href="https://docs.fleetbase.dev/api" rel="nofollow">Fleetbase Documentation →</a>
|
||||
<a href="https://fleetbase.github.io/guides" rel="nofollow">Fleetbase Documentation →</a>
|
||||
<br>
|
||||
<br>
|
||||
<a href="https://github.com/fleetbase/fleetbase/issues">Report an Issue</a>
|
||||
·
|
||||
<a href="https://fleetbase.dev/api">API Reference</a>
|
||||
<a href="https://fleetbase.github.io/api-reference">API Reference</a>
|
||||
·
|
||||
<a href="https://github.com/fleetbase/guides">Guides</a>
|
||||
<a href="https://fleetbase.github.io/guides">Guides</a>
|
||||
·
|
||||
<a href="https://github.com/fleetbase/fleetbase/issues">Request a Feature</a>
|
||||
·
|
||||
<a href="https://www.fleetbase.io/blog-2" rel="nofollow">Blog</a>
|
||||
·
|
||||
<a href="https://fleetbase.apichecker.com" target="_api_status" rel="nofollow">API Status</a>
|
||||
·
|
||||
<a href="https://discord.gg/V7RVWRQ2Wm" target="discord" rel="nofollow">Discord</a>
|
||||
</p>
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
# ⭐️ Overview
|
||||
|
||||
Fleetbase is a comprehensive, open-source platform for the management and orchestration of logistics and supply chain operations. This dual-natured platform serves not only as an efficient operational tool for companies within these industries but also as a robust foundational layer for developers. Its versatility emanates from its core, which is skillfully constructed around a series of "extensions," creating a flexible and customizable framework that accommodates a wide spectrum of supply chain and logistics requirements.
|
||||
Fleetbase is an open-source modular platform designed for the efficient management and orchestration of logistics operations. It serves as both a powerful operational tool for businesses and a flexible foundation for developers. The platform's core is built around a collection of "extensions," which create a customizable framework capable of meeting a wide range of supply chain and logistics requirements.
|
||||
|
||||
Every individual extension within Fleetbase is purposefully engineered to fulfill specific roles within the expansive ecosystem of supply chain and logistics. With inherent extensibility users have the freedom to craft their own extensions, thereby expanding the ecosystem and ensuring the platform's adaptability across a multitude of use cases. This extensible nature ensures that Fleetbase remains at the forefront of meeting diverse logistical and supply chain needs now and into the future.
|
||||
Each extension in Fleetbase is purposefully engineered to fulfill specific roles within the logistics ecosystem. Users have the freedom to create their own extensions, expanding the platform's ecosystem and ensuring its adaptability to various use cases. This extensible nature keeps Fleetbase at the forefront of addressing diverse logistical and supply chain needs now and in the future.
|
||||
|
||||
<p align="center" dir="auto">
|
||||
<img src="https://flb-assets.s3.ap-southeast-1.amazonaws.com/github/dark-light-layered-screenshots.png" alt="Fleetbase Console" width="600" style="max-width: 100%;" />
|
||||
</p>
|
||||
<img src="https://github.com/fleetbase/fleetbase/assets/816371/deef79fa-e30c-4ce9-8a04-0dee990ffd9d" alt="Fleetbase Console" width="600" style="max-width: 100%;" />
|
||||
</p>
|
||||
|
||||
<div align="center">
|
||||
<a href="https://www.producthunt.com/posts/fleetbase-alpha" target="_producthunt">🚀 We've just announced our Alpha release on Product Hunt! 🚀</a>
|
||||
<p>Check Fleetbase out on ProductHunt, and support with a Upvote!</p>
|
||||
<a href="https://www.producthunt.com/posts/fleetbase-alpha?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-fleetbase-alpha" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=399731&theme=light" alt="Fleetbase (Alpha) - The open source OnFleet alternative | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
||||
</div>
|
||||
|
||||
|
||||
# 📖 Table of contents
|
||||
|
||||
@@ -41,6 +52,7 @@ Every individual extension within Fleetbase is purposefully engineered to fulfil
|
||||
- [Installation](#-installation)
|
||||
- [Extensions](#-extensions)
|
||||
- [Apps](#-apps)
|
||||
- [Roadmap](#-roadmap)
|
||||
- [Bugs and Feature Requests](#-bugs-and--feature-requests)
|
||||
- [Documentation](#-documentation)
|
||||
- [Contributing](#-contributing)
|
||||
@@ -54,10 +66,10 @@ Fleetbase is more than just a platform; it's a versatile ecosystem carefully arc
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<strong>Console</strong>: Fleetbase's frontend console is constructed using Ember.js and Ember Engines, providing a highly modular and extensible design. This not only enables the system to adapt and scale to your growing requirements but also simplifies the process of integrating new extensions. With the console's design, extensions can be easily installed using their respective package managers, thereby reducing complexity and time spent on integration.
|
||||
<strong>Console</strong>: Fleetbase's frontend console is built with Ember.js and Ember Engines, offering a modular and extensible design. This design allows the system to easily adapt and scale according to your evolving needs while simplifying the integration of new extensions. By leveraging the console's design, extensions can be seamlessly installed using their respective package managers, reducing complexity and integration time.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Fleetbase API</strong>: Fleetbase's backend API and framework, developed using the reliable Laravel framework, is thoughtfully designed with extension development and integration in mind. This robust and flexible infrastructure not only manages intricate data structures and transactions with grace but also facilitates the easy incorporation of new extensions via package managers. We provide additional packages that allow developers to craft their unique extensions, further enhancing the flexibility and extensibility of the Fleetbase ecosystem.
|
||||
<strong>Fleetbase API</strong>: Fleetbase's backend API and framework are built with Laravel, providing a robust and flexible infrastructure for extension development and integration. The system efficiently manages complex data structures and transactions while seamlessly incorporating new extensions through package managers. We offer additional packages for developers to create custom extensions, enhancing the flexibility and extensibility of the Fleetbase ecosystem.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Extensions</strong>: Fleetbase is designed to provide immediate utility out-of-the-box. It comes pre-installed with several key extensions
|
||||
@@ -161,12 +173,16 @@ Getting Fleetbase up and running on your system using Docker and Docker-compose
|
||||
</li>
|
||||
<li>
|
||||
Clone the Fleetbase repository to your local machine:
|
||||
<pre>bash git clone https://github.com/fleetbase/fleetbase.git</pre>
|
||||
<pre>git clone git@github.com:fleetbase/fleetbase.git</pre>
|
||||
</li>
|
||||
<li>
|
||||
Navigate to the cloned repository:
|
||||
<pre>cd fleetbase</pre>
|
||||
</li>
|
||||
<li>
|
||||
Initialize and pull submodules:
|
||||
<pre>git submodule update --init --recursive</pre>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
### Build and Run Fleetbase
|
||||
@@ -175,7 +191,7 @@ Getting Fleetbase up and running on your system using Docker and Docker-compose
|
||||
<li>
|
||||
<strong>Start the Docker daemon:</strong>
|
||||
Ensure the Docker daemon is running on your machine. You can either start Docker Desktop or either executed by running:
|
||||
<pre>sudo systemctl start docker</pre>
|
||||
<pre>service docker start</pre>
|
||||
</li>
|
||||
<li>
|
||||
<strong>Build the Docker containers:</strong>
|
||||
@@ -184,6 +200,36 @@ Use Docker Compose to build and run the necessary containers. In the root direct
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
### Additional Steps
|
||||
|
||||
<ol>
|
||||
<li>Fleetbase will try to find the current hostname or public IP address to whitelist in for CORS, but if this fails you will need to manually add your hostname or instance URL to <code>api/config/cors.php</code> in the <code>allowed_origins</code> array. This will whitelist the console for CORS access to your instance backend.
|
||||
</li>
|
||||
<li>🛣 Routing! By default Fleetbase currently will use it's own routing engine which is hosted at <a href="https://routing.fleetbase.io" target="_fleetbase_routing_machine">https://routing.fleetbase.io</a>, this routing engine only works for a few enabled countries which include USA, Canada, Belgium, Spain, Serbia, Taiwan, Malaysia, Singapore, Brunei, Mongolia, India, Ghana. We can enable more regions and countries upon request. There is a Roadmap item to allow users to easily change to any routing engine provider such as Mapbox, Google Maps, and other 3rd Party Routing services. Optionally, you can switch out Fleetase Routing engine with any OSRM compatible service such as OpenStreetMap by changing the console environment variable <code>OSRM_HOST</code> which can be found in <code>console/environments/*.env</code>.
|
||||
</li>
|
||||
<li>If you find any bugs or unexpected issues please <a href="https://github.com/fleetbase/fleetbase/issues/new/choose">post an issue</a> to the repo or join our <a href="https://discord.gg/MJQgxHwN" target="_discord" alt="Fleetbase Discord">Discord</a>.
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
### Troubleshoot
|
||||
|
||||
Have an issue with the installation, try a few of these workarounds.
|
||||
|
||||
<ul>
|
||||
<li><strong>Installer not working?</strong> <br>If you encounter issues with the web based installer use this workaround to get going.
|
||||
<ol>
|
||||
<li>Login to the application container.
|
||||
<pre class="bash">docker exec -ti fleetbase-application-1 bash</pre>
|
||||
</li>
|
||||
<li>Manually run the database setup and migrations.
|
||||
<pre class="bash">php artisan mysql:createdb
|
||||
php artisan migrate:refresh --seed</pre>
|
||||
</li>
|
||||
<li>After completing these steps you should be able to proceed with account creation.</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
### Access Fleetbase
|
||||
|
||||
Now that Fleetbase is up and running via Docker you can find the console and the API accessible:
|
||||
@@ -202,18 +248,18 @@ Fleetbase Extensions are built using both a backend PHP package and a frontend E
|
||||
|
||||
### How do Extensions Work?
|
||||
<ul>
|
||||
<li><strong>Backend</strong>: The backend of an extension is developed as a PHP package. This package should utilize the composer package `fleetbase/core-api`, which provides core API functionalities, making it easier to integrate your extension with Fleetbase's backend.</li>
|
||||
<li><strong>Backend</strong>: The backend of an extension is developed as a PHP package. This package should utilize the composer package <code>fleetbase/core-api</code>, which provides core API functionalities, making it easier to integrate your extension with Fleetbase's backend.</li>
|
||||
|
||||
<li><strong>Engine</strong>: The frontend of an extension is built as an Ember Engine Addon. The Addon must require the packages `@fleetbase/ember-core` and `@fleetbase/ember-ui`. The `@fleetbase/ember-core` package provides core services and utilities that help to align your extension with Fleetbase's frontend. The `@fleetbase/ember-ui` package, on the other hand, supplies all the stylesheets, components, and template helpers needed to design a Fleetbase extension that seamlessly matches the look and feel of the Fleetbase UI.</li>
|
||||
<li><strong>Engine</strong>: The frontend of an extension is built as an Ember Engine Addon. The Addon must require the packages <code>@fleetbase/ember-core</code> and <code>@fleetbase/ember-ui</code>. The <code>@fleetbase/ember-core</code> package provides core services and utilities that help to align your extension with Fleetbase's frontend. The <code>@fleetbase/ember-ui</code> package, on the other hand, supplies all the stylesheets, components, and template helpers needed to design a Fleetbase extension that seamlessly matches the look and feel of the Fleetbase UI.</li>
|
||||
</ul>
|
||||
|
||||
### Building a Fleetbase Extension
|
||||
To create a Fleetbase extension, follow these steps:
|
||||
|
||||
<ul>
|
||||
<li><strong>Backend PHP Package Creation</strong>: Begin by creating a backend PHP package. Make sure to use the composer package `fleetbase/core-api` to ensure smooth integration with Fleetbase's backend.</li>
|
||||
<li><strong>Backend PHP Package Creation</strong>: Begin by creating a backend PHP package. Make sure to use the composer package <code>fleetbase/core-api</code> to ensure smooth integration with Fleetbase's backend.</li>
|
||||
|
||||
<li><strong>Frontend Ember Engine Addon</strong>: Next, you need to create the frontend of the extension using Ember Engine. Be sure to include the `@fleetbase/ember-core` and `@fleetbase/ember-ui` packages. These packages provide necessary services, utilities, and design components for aligning your extension with Fleetbase's UI.</li>
|
||||
<li><strong>Frontend Ember Engine Addon</strong>: Next, you need to create the frontend of the extension using Ember Engine. Be sure to include the <code>@fleetbase/ember-core</code> and <code>@fleetbase/ember-ui</code> packages. These packages provide necessary services, utilities, and design components for aligning your extension with Fleetbase's UI.</li>
|
||||
|
||||
<li><strong>Integrate Your Extension</strong>: Once you have the backend and frontend ready, you can integrate your extension into Fleetbase by installing it via the respective package managers. In the future you will be able to publish your extension to the Fleetbase extensions repository making it available to all instances of Fleetbase with the ability to even sell your extension.</li>
|
||||
</ul>
|
||||
@@ -232,8 +278,10 @@ Fleetbase offers a few open sourced apps which are built on Fleetbase which can
|
||||
# 🛣 Roadmap
|
||||
|
||||
<ol>
|
||||
<li>Install Flow & System Configuration from Console</li>
|
||||
<li>Open Source Extension Repository</li>
|
||||
<li>🌎 Internationalize</li>
|
||||
<li>Multiple and Custom Routing Engine's in FleetOps</li>
|
||||
<li>Identity & Access Management (IAM) Extension</li>
|
||||
<li>Inventory and Warehouse Management Extension</li>
|
||||
<li>Freight Forwarder Quote Parser/ System Extension</li>
|
||||
</ol>
|
||||
@@ -248,11 +296,11 @@ View and contribute to our <a href="https://github.com/fleetbase/guides">Fleetba
|
||||
|
||||
# 👨💻 Contributing
|
||||
|
||||
Please read through our <a href="https://github.com/fleetbase/fleetbase/blob/main/.github/CONTRIBUTING.md">contributing guidelines</a>. Included are directions for opening issues, coding standards, and notes on development.
|
||||
Please read through our <a href="https://github.com/fleetbase/fleetbase/blob/main/CONTRIBUTING.md">contributing guidelines</a>. Included are directions for opening issues, coding standards, and notes on development.
|
||||
|
||||
# 👥 Community
|
||||
|
||||
Get updates on Fleetbase's development and chat with the project maintainers and community members.
|
||||
Get updates on Fleetbase's development and chat with the project maintainers and community members by joining our <a href="https://discord.gg/V7RVWRQ2Wm">Discord</a>.
|
||||
|
||||
<ul>
|
||||
<li>Follow <a href="https://twitter.com/fleetbase_io">@fleetbase_io on Twitter</a>.</li>
|
||||
|
||||
39
SECURITY.md
Normal file
39
SECURITY.md
Normal file
@@ -0,0 +1,39 @@
|
||||
Contact: hello@fleetbase.io
|
||||
|
||||
Based on: https://supabase.com/.well-known/security.txt
|
||||
|
||||
|
||||
At Fleetbase, we consider the security of our systems a top priority. But no matter how much effort we put into system security, there can still be vulnerabilities present.
|
||||
|
||||
If you discover a vulnerability, we would like to know about it so we can take steps to address it as quickly as possible. We would like to ask you to help us better protect our clients and our systems.
|
||||
|
||||
Out of scope vulnerabilities:
|
||||
|
||||
- Clickjacking on pages with no sensitive actions.
|
||||
- Unauthenticated/logout/login CSRF.
|
||||
- Attacks requiring MITM or physical access to a user's device.
|
||||
- Any activity that could lead to the disruption of our service (DoS).
|
||||
- Content spoofing and text injection issues without showing an attack vector/without being able to modify HTML/CSS.
|
||||
- Email spoofing
|
||||
- Missing DNSSEC, CAA, CSP headers
|
||||
- Lack of Secure or HTTP only flag on non-sensitive cookies
|
||||
- Deadlinks
|
||||
|
||||
Please do the following:
|
||||
|
||||
- E-mail your findings to hello@fleetbase.io.
|
||||
- Do not run automated scanners on our infrastructure or dashboard. If you wish to do this, contact us and we will set up a sandbox for you.
|
||||
- Do not take advantage of the vulnerability or problem you have discovered, for example by downloading more data than necessary to demonstrate the vulnerability or deleting or modifying other people's data,
|
||||
- Do not reveal the problem to others until it has been resolved,
|
||||
- Do not use attacks on physical security, social engineering, distributed denial of service, spam or applications of third parties, and
|
||||
- Do provide sufficient information to reproduce the problem, so we will be able to resolve it as quickly as possible. Usually, the IP address or the URL of the affected system and a description of the vulnerability will be sufficient, but complex vulnerabilities may require further explanation.
|
||||
|
||||
What we promise:
|
||||
|
||||
- We will respond to your report within 3 business days with our evaluation of the report and an expected resolution date,
|
||||
- If you have followed the instructions above, we will not take any legal action against you in regard to the report,
|
||||
- We will handle your report with strict confidentiality, and not pass on your personal details to third parties without your permission,
|
||||
- We will keep you informed of the progress towards resolving the problem,
|
||||
- In the public information concerning the problem reported, we will give your name as the discoverer of the problem (unless you desire otherwise), and
|
||||
|
||||
We strive to resolve all problems as quickly as possible, and we would like to play an active role in the ultimate publication on the problem after it is resolved.
|
||||
@@ -9,9 +9,9 @@
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^7.3|^8.0",
|
||||
"fleetbase/core-api": "^1.1.1-alpha",
|
||||
"fleetbase/fleetops-api": "^1.0.5-alpha",
|
||||
"fleetbase/storefront-api": "^1.0.4-alpha",
|
||||
"fleetbase/core-api": "^1.1.3-alpha",
|
||||
"fleetbase/fleetops-api": "^1.0.7-alpha",
|
||||
"fleetbase/storefront-api": "^1.0.6-alpha",
|
||||
"fruitcake/laravel-cors": "^2.0",
|
||||
"guzzlehttp/guzzle": "^7.0.1",
|
||||
"laravel/framework": "^8.75",
|
||||
|
||||
130
api/composer.lock
generated
130
api/composer.lock
generated
@@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "632864030c6e1fc915538089dbdbaad5",
|
||||
"content-hash": "68fc1b07830103e7db4c99e8b79b79f0",
|
||||
"packages": [
|
||||
{
|
||||
"name": "aloha/twilio",
|
||||
@@ -192,16 +192,16 @@
|
||||
},
|
||||
{
|
||||
"name": "aws/aws-sdk-php",
|
||||
"version": "3.274.1",
|
||||
"version": "3.275.5",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aws/aws-sdk-php.git",
|
||||
"reference": "92907084c3b71859672ef6399194ef9c1f772b1a"
|
||||
"reference": "d46961b82e857f77059c0c78160719ecb26f6cc6"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/92907084c3b71859672ef6399194ef9c1f772b1a",
|
||||
"reference": "92907084c3b71859672ef6399194ef9c1f772b1a",
|
||||
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/d46961b82e857f77059c0c78160719ecb26f6cc6",
|
||||
"reference": "d46961b82e857f77059c0c78160719ecb26f6cc6",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -281,9 +281,9 @@
|
||||
"support": {
|
||||
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
|
||||
"issues": "https://github.com/aws/aws-sdk-php/issues",
|
||||
"source": "https://github.com/aws/aws-sdk-php/tree/3.274.1"
|
||||
"source": "https://github.com/aws/aws-sdk-php/tree/3.275.5"
|
||||
},
|
||||
"time": "2023-06-28T18:21:54+00:00"
|
||||
"time": "2023-07-07T18:20:11+00:00"
|
||||
},
|
||||
{
|
||||
"name": "aws/aws-sdk-php-laravel",
|
||||
@@ -2002,16 +2002,16 @@
|
||||
},
|
||||
{
|
||||
"name": "fleetbase/core-api",
|
||||
"version": "1.1.1-alpha",
|
||||
"version": "1.1.3-alpha",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/fleetbase/core-api.git",
|
||||
"reference": "72853c222d3b1e5fa2fdaffc094dab8eb5c2bd18"
|
||||
"reference": "6551b4aa6800af5c27ab48c490503ca7c3e367d1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/fleetbase/core-api/zipball/72853c222d3b1e5fa2fdaffc094dab8eb5c2bd18",
|
||||
"reference": "72853c222d3b1e5fa2fdaffc094dab8eb5c2bd18",
|
||||
"url": "https://api.github.com/repos/fleetbase/core-api/zipball/6551b4aa6800af5c27ab48c490503ca7c3e367d1",
|
||||
"reference": "6551b4aa6800af5c27ab48c490503ca7c3e367d1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -2085,29 +2085,29 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/fleetbase/core-api/issues",
|
||||
"source": "https://github.com/fleetbase/core-api/tree/v1.1.1-alpha"
|
||||
"source": "https://github.com/fleetbase/core-api/tree/v1.1.3-alpha"
|
||||
},
|
||||
"time": "2023-06-29T07:56:38+00:00"
|
||||
"time": "2023-07-10T12:45:12+00:00"
|
||||
},
|
||||
{
|
||||
"name": "fleetbase/fleetops-api",
|
||||
"version": "1.0.5-alpha",
|
||||
"version": "1.0.7-alpha",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/fleetbase/fleetops-api.git",
|
||||
"reference": "82deaeaa8f185dc4a9760e8de279ad0606c13c2a"
|
||||
"reference": "0b5142bf9f32ba56b6d7c789c34ee3ba35021842"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/fleetbase/fleetops-api/zipball/82deaeaa8f185dc4a9760e8de279ad0606c13c2a",
|
||||
"reference": "82deaeaa8f185dc4a9760e8de279ad0606c13c2a",
|
||||
"url": "https://api.github.com/repos/fleetbase/fleetops-api/zipball/0b5142bf9f32ba56b6d7c789c34ee3ba35021842",
|
||||
"reference": "0b5142bf9f32ba56b6d7c789c34ee3ba35021842",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"barryvdh/laravel-dompdf": "^2.0",
|
||||
"brick/geo": "0.7.2",
|
||||
"cknow/laravel-money": "^7.1",
|
||||
"fleetbase/core-api": "^1.0.9-alpha",
|
||||
"fleetbase/core-api": "^1.1.3-alpha",
|
||||
"geocoder-php/google-maps-places-provider": "^1.4",
|
||||
"giggsey/libphonenumber-for-php": "^8.13",
|
||||
"league/geotools": "^1.1.0",
|
||||
@@ -2155,33 +2155,34 @@
|
||||
"description": "FleetOps TMS and Last-Mile Operations System",
|
||||
"keywords": [
|
||||
"delivery management",
|
||||
"fleetbase-extension",
|
||||
"fleetops",
|
||||
"last-mile",
|
||||
"tms"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/fleetbase/fleetops-api/issues",
|
||||
"source": "https://github.com/fleetbase/fleetops-api/tree/v1.0.5-alpha"
|
||||
"source": "https://github.com/fleetbase/fleetops-api/tree/v1.0.7-alpha"
|
||||
},
|
||||
"time": "2023-06-19T09:18:30+00:00"
|
||||
"time": "2023-07-10T12:48:47+00:00"
|
||||
},
|
||||
{
|
||||
"name": "fleetbase/storefront-api",
|
||||
"version": "1.0.4-alpha",
|
||||
"version": "1.0.6-alpha",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/fleetbase/storefront-api.git",
|
||||
"reference": "03e7a5bf751fadc9b2a8c2b12b23d65e1485074c"
|
||||
"reference": "fd95411375f886871c8af1517493bcefb1116b05"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/fleetbase/storefront-api/zipball/03e7a5bf751fadc9b2a8c2b12b23d65e1485074c",
|
||||
"reference": "03e7a5bf751fadc9b2a8c2b12b23d65e1485074c",
|
||||
"url": "https://api.github.com/repos/fleetbase/storefront-api/zipball/fd95411375f886871c8af1517493bcefb1116b05",
|
||||
"reference": "fd95411375f886871c8af1517493bcefb1116b05",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"fleetbase/core-api": "^1.1.0-alpha",
|
||||
"fleetbase/fleetops-api": "^1.0.4-alpha",
|
||||
"fleetbase/core-api": "^1.1.3-alpha",
|
||||
"fleetbase/fleetops-api": "^1.0.7-alpha",
|
||||
"geocoder-php/google-maps-places-provider": "^1.4",
|
||||
"laravel-notification-channels/apn": "^3.8",
|
||||
"laravel-notification-channels/fcm": "^2.7",
|
||||
@@ -2233,15 +2234,16 @@
|
||||
"description": "Headless Commerce API for Storefront Fleetbase Extension.",
|
||||
"keywords": [
|
||||
"e-commerce",
|
||||
"fleetbase-extension",
|
||||
"headless commerce",
|
||||
"marketplace",
|
||||
"storefront"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/fleetbase/storefront-api/issues",
|
||||
"source": "https://github.com/fleetbase/storefront-api/tree/v1.0.4-alpha"
|
||||
"source": "https://github.com/fleetbase/storefront-api/tree/v1.0.6-alpha"
|
||||
},
|
||||
"time": "2023-06-14T08:24:27+00:00"
|
||||
"time": "2023-07-10T12:50:48+00:00"
|
||||
},
|
||||
{
|
||||
"name": "fruitcake/laravel-cors",
|
||||
@@ -2605,16 +2607,16 @@
|
||||
},
|
||||
{
|
||||
"name": "geocoder-php/google-maps-places-provider",
|
||||
"version": "1.4.0",
|
||||
"version": "1.4.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/geocoder-php/google-maps-places-provider.git",
|
||||
"reference": "4d8b360119e924fb357f30d2e141621499e2c803"
|
||||
"reference": "9ef702663c80c85bbb4b51bbf10566ced26ddb62"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/geocoder-php/google-maps-places-provider/zipball/4d8b360119e924fb357f30d2e141621499e2c803",
|
||||
"reference": "4d8b360119e924fb357f30d2e141621499e2c803",
|
||||
"url": "https://api.github.com/repos/geocoder-php/google-maps-places-provider/zipball/9ef702663c80c85bbb4b51bbf10566ced26ddb62",
|
||||
"reference": "9ef702663c80c85bbb4b51bbf10566ced26ddb62",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -2658,9 +2660,9 @@
|
||||
"description": "Geocoder Google Maps Places adapter",
|
||||
"homepage": "http://geocoder-php.org/Geocoder/",
|
||||
"support": {
|
||||
"source": "https://github.com/geocoder-php/google-maps-places-provider/tree/1.4.0"
|
||||
"source": "https://github.com/geocoder-php/google-maps-places-provider/tree/1.4.1"
|
||||
},
|
||||
"time": "2022-07-30T12:09:30+00:00"
|
||||
"time": "2023-07-09T14:05:05+00:00"
|
||||
},
|
||||
{
|
||||
"name": "geocoder-php/google-maps-provider",
|
||||
@@ -2907,16 +2909,16 @@
|
||||
},
|
||||
{
|
||||
"name": "google/cloud-core",
|
||||
"version": "v1.52.0",
|
||||
"version": "v1.52.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/googleapis/google-cloud-php-core.git",
|
||||
"reference": "bd87e418923e0d836c7e754d82e66bc0b79964ab"
|
||||
"reference": "8214910f79b5508d4cd1cd48f39d7970443071d5"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/bd87e418923e0d836c7e754d82e66bc0b79964ab",
|
||||
"reference": "bd87e418923e0d836c7e754d82e66bc0b79964ab",
|
||||
"url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/8214910f79b5508d4cd1cd48f39d7970443071d5",
|
||||
"reference": "8214910f79b5508d4cd1cd48f39d7970443071d5",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -2932,7 +2934,7 @@
|
||||
"require-dev": {
|
||||
"erusev/parsedown": "^1.6",
|
||||
"google/cloud-common-protos": "^0.4",
|
||||
"google/gax": "^1.9",
|
||||
"google/gax": "^1.19.1",
|
||||
"opis/closure": "^3",
|
||||
"phpdocumentor/reflection": "^5.0",
|
||||
"phpspec/prophecy-phpunit": "^2.0",
|
||||
@@ -2966,22 +2968,22 @@
|
||||
],
|
||||
"description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
|
||||
"support": {
|
||||
"source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.52.0"
|
||||
"source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.52.1"
|
||||
},
|
||||
"time": "2023-06-21T21:05:25+00:00"
|
||||
"time": "2023-07-07T20:46:38+00:00"
|
||||
},
|
||||
{
|
||||
"name": "google/cloud-storage",
|
||||
"version": "v1.32.0",
|
||||
"version": "v1.33.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/googleapis/google-cloud-php-storage.git",
|
||||
"reference": "2dd5cee0da51e94bcf39c0af9cefd0ec6b931685"
|
||||
"reference": "05ae33620feebe1107756b59fe0329cace3b5e13"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/googleapis/google-cloud-php-storage/zipball/2dd5cee0da51e94bcf39c0af9cefd0ec6b931685",
|
||||
"reference": "2dd5cee0da51e94bcf39c0af9cefd0ec6b931685",
|
||||
"url": "https://api.github.com/repos/googleapis/google-cloud-php-storage/zipball/05ae33620feebe1107756b59fe0329cace3b5e13",
|
||||
"reference": "05ae33620feebe1107756b59fe0329cace3b5e13",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -3023,9 +3025,9 @@
|
||||
],
|
||||
"description": "Cloud Storage Client for PHP",
|
||||
"support": {
|
||||
"source": "https://github.com/googleapis/google-cloud-php-storage/tree/v1.32.0"
|
||||
"source": "https://github.com/googleapis/google-cloud-php-storage/tree/v1.33.0"
|
||||
},
|
||||
"time": "2023-06-21T21:05:25+00:00"
|
||||
"time": "2023-07-07T20:46:38+00:00"
|
||||
},
|
||||
{
|
||||
"name": "google/crc32",
|
||||
@@ -6118,16 +6120,16 @@
|
||||
},
|
||||
{
|
||||
"name": "nesbot/carbon",
|
||||
"version": "2.67.0",
|
||||
"version": "2.68.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/briannesbitt/Carbon.git",
|
||||
"reference": "c1001b3bc75039b07f38a79db5237c4c529e04c8"
|
||||
"reference": "4f991ed2a403c85efbc4f23eb4030063fdbe01da"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/c1001b3bc75039b07f38a79db5237c4c529e04c8",
|
||||
"reference": "c1001b3bc75039b07f38a79db5237c4c529e04c8",
|
||||
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4f991ed2a403c85efbc4f23eb4030063fdbe01da",
|
||||
"reference": "4f991ed2a403c85efbc4f23eb4030063fdbe01da",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -6216,7 +6218,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-05-25T22:09:47+00:00"
|
||||
"time": "2023-06-20T18:29:04+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nette/caching",
|
||||
@@ -9156,16 +9158,16 @@
|
||||
},
|
||||
{
|
||||
"name": "spatie/laravel-permission",
|
||||
"version": "5.10.1",
|
||||
"version": "5.10.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/spatie/laravel-permission.git",
|
||||
"reference": "d08b3ffc5870cce4a47a39f22174947b33c191ae"
|
||||
"reference": "671e46e079cbd4990a98427daaa09f4977b57ca9"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/spatie/laravel-permission/zipball/d08b3ffc5870cce4a47a39f22174947b33c191ae",
|
||||
"reference": "d08b3ffc5870cce4a47a39f22174947b33c191ae",
|
||||
"url": "https://api.github.com/repos/spatie/laravel-permission/zipball/671e46e079cbd4990a98427daaa09f4977b57ca9",
|
||||
"reference": "671e46e079cbd4990a98427daaa09f4977b57ca9",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -9226,7 +9228,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/spatie/laravel-permission/issues",
|
||||
"source": "https://github.com/spatie/laravel-permission/tree/5.10.1"
|
||||
"source": "https://github.com/spatie/laravel-permission/tree/5.10.2"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -9234,7 +9236,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2023-04-12T17:08:32+00:00"
|
||||
"time": "2023-07-04T13:38:13+00:00"
|
||||
},
|
||||
{
|
||||
"name": "spatie/laravel-responsecache",
|
||||
@@ -15071,16 +15073,16 @@
|
||||
},
|
||||
{
|
||||
"name": "phpunit/phpunit",
|
||||
"version": "9.6.9",
|
||||
"version": "9.6.10",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||
"reference": "a9aceaf20a682aeacf28d582654a1670d8826778"
|
||||
"reference": "a6d351645c3fe5a30f5e86be6577d946af65a328"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a9aceaf20a682aeacf28d582654a1670d8826778",
|
||||
"reference": "a9aceaf20a682aeacf28d582654a1670d8826778",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a6d351645c3fe5a30f5e86be6577d946af65a328",
|
||||
"reference": "a6d351645c3fe5a30f5e86be6577d946af65a328",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -15154,7 +15156,7 @@
|
||||
"support": {
|
||||
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
||||
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.9"
|
||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.10"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -15170,7 +15172,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-06-11T06:13:56+00:00"
|
||||
"time": "2023-07-10T04:04:23+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sebastian/cli-parser",
|
||||
|
||||
2
console
2
console
Submodule console updated: 008abd9a25...945ea37df0
41
docker-bake.hcl
Normal file
41
docker-bake.hcl
Normal file
@@ -0,0 +1,41 @@
|
||||
// docker-bake.hcl
|
||||
variable "REGISTRY" { default = "" }
|
||||
variable "tags" { default = "[]" }
|
||||
target "docker-metadata-action" {}
|
||||
|
||||
group "default" {
|
||||
targets = ["app"]
|
||||
}
|
||||
|
||||
target "app" {
|
||||
name = "app-${tgt}"
|
||||
|
||||
// here we inherit from docker-metadata-action to get
|
||||
// labels for the image
|
||||
// Labels are used to connect the built packages to the repository.
|
||||
inherits = ["docker-metadata-action"]
|
||||
|
||||
// use matrix strategy to build several targets at once
|
||||
matrix = {
|
||||
tgt = ["app", "scheduler", "jobs", "events"]
|
||||
}
|
||||
context = "./"
|
||||
// set the target from matrix
|
||||
target = tgt
|
||||
dockerfile = "docker/Dockerfile"
|
||||
platforms = [
|
||||
"linux/amd64",
|
||||
]
|
||||
|
||||
tags = notequal("", REGISTRY) ? formatlist(
|
||||
"${REGISTRY}/fleetbase-${tgt}:%s",
|
||||
// some magic happens here:
|
||||
// We replace "willbereplaced:" with "" to get rid of the fake image
|
||||
// then we decode the json object passed as a string into a list of tags
|
||||
// then we concat that with "latest"
|
||||
// So in the end we'll get something like ["latest". "1.0". "1.0.0"]
|
||||
// Then formatlist will prepend the registry and image name to each of
|
||||
// the tags
|
||||
concat(["latest"], jsondecode(replace(tags, "willbereplaced:", "")))
|
||||
) : []
|
||||
}
|
||||
@@ -28,9 +28,7 @@ RUN sed -e 's/^expose_php.*/expose_php = Off/' "$PHP_INI_DIR/php.ini-production"
|
||||
-e 's/^memory_limit.*/memory_limit = 600M/' "$PHP_INI_DIR/php.ini"
|
||||
|
||||
# Install ssm-parent
|
||||
RUN curl -L https://github.com/springload/ssm-parent/releases/download/v1.4.3/ssm-parent_1.4.3_linux_amd64.tar.gz > /tmp/ssm-parent.tar.gz \
|
||||
&& tar -C /sbin -xvf /tmp/ssm-parent.tar.gz ssm-parent \
|
||||
&& rm /tmp/ssm-parent.tar.gz
|
||||
COPY --from=ghcr.io/springload/ssm-parent:1.8 /usr/bin/ssm-parent /sbin/ssm-parent
|
||||
|
||||
# Install Composer
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
@@ -98,7 +96,7 @@ CMD ["/startup.sh"]
|
||||
# Events stage
|
||||
FROM base as events
|
||||
ENTRYPOINT ["/sbin/ssm-parent", "-c", ".ssm-parent.yaml", "run", "--", "docker-php-entrypoint"]
|
||||
CMD ["php", "artisan", "queue:work", "events"]2
|
||||
CMD ["php", "artisan", "queue:work", "events"]
|
||||
|
||||
# Jobs stage
|
||||
FROM base as jobs
|
||||
@@ -109,4 +107,4 @@ CMD ["php", "artisan", "queue:work", "sqs"]
|
||||
FROM base as app
|
||||
ENTRYPOINT ["/sbin/ssm-parent", "-c", ".ssm-parent.yaml", "run", "--", "docker-php-entrypoint"]
|
||||
EXPOSE 80
|
||||
CMD ["/startup.sh"]
|
||||
CMD ["/startup.sh"]
|
||||
|
||||
Submodule packages/core-api updated: 72853c222d...6551b4aa68
Submodule packages/dev-engine updated: 5311c6110a...9984299722
Submodule packages/ember-ui updated: 58779a2323...721e4c3d44
Submodule packages/fleetops-api updated: 82deaeaa8f...0b5142bf9f
Submodule packages/fleetops-data updated: 13836f1332...eba1a93cb5
Submodule packages/fleetops-engine updated: a83044edc1...7f3dda3f5f
Submodule packages/iam-engine updated: fde9774826...60ca06c011
Submodule packages/storefront-api updated: 03e7a5bf75...fd95411375
Submodule packages/storefront-engine updated: 42a1277240...a03df79526
Reference in New Issue
Block a user