A container for running the API Server for CycleCheck.
pm2 so it will always restart if it stops./data volume.master will trigger the running of semantic-release.semantic-release will analyze the commit messages and determine if a new release is required.Available on Docker Hub as jordond/cyclecheck-api.
In case you want to build the image yourself, follow these steps:
# Clone the repository
git clone https://github.com/cyclecheck/api-server-docker
# Change into directory
cd api-server-docker
# Build the image
docker build -t cyclecheck-api
Create a container:
docker run -d \
--name=cyclecheck-api \
--restart=always \
-p 9999:8000 \
-v /path/on/my/machine:/data \
jordond/cyclecheck-api
-p <PORT>:8000: Local port to map to server-v <PATH_TO_DATA>:/data: Directory to store all application data, ie: database, config, etcAPI will be available at http://127.0.0.1:9999 (if properly configured, see below).
Note: The API server requires that a cyclecheck.env file be placed in the <PATH_TO_DATA>:/data volume to run.
See CycleCheck-API for more details.
See CONTRIBUTING.
MIT License
Copyright (c) 2019 CycleCheck
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.
Content type
Image
Digest
Size
378.1 MB
Last updated
over 5 years ago
docker pull jordond/cyclecheck-api