Skip to content

Commit

Permalink
Update Docker cron image and documentation (#34)
Browse files Browse the repository at this point in the history
* fix: remove unnecessary CRON_TAIL environment variable from Docker cron README

* fix: add rclone to installed packages in Docker cron image

* chore:update

* chore:update

* docs: add Docker Compose deployment instructions to Certimate README

* fix: handle additional null case for new release version check in GitHub Actions workflow
  • Loading branch information
funnyzak authored Feb 5, 2025
1 parent 4939dfc commit 974d644
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-offical-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Check if new version exists on docker hub
id: check-docker-hub
run: |
if [ ${{ steps.get-latest-release.outputs.new_release_version }} == 'no-tags' ]; then
if [ "${{ steps.get-latest-release.outputs.new_release_version }}" = "no-tags" ] || [ "${{ steps.get-latest-release.outputs.new_release_version }}" = "null" ]; then
echo "Can't get the new Offical Release version"
echo "is_new_release_version=false" >> $GITHUB_OUTPUT
elif curl -s "https://hub.docker.com/v2/repositories/funnyzak/${{ github.event.inputs.image_name || inputs.image_name }}/tags/${{ steps.get-latest-release.outputs.new_release_version }}" | grep -q 'not found'; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dispatch-choice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
docker_image_name: cron
docker_tags: ${{ github.event.inputs.docker_tags }}
build_args: ${{ github.event.inputs.build_args }}
build_platforms: ${{ github.event.inputs.build_platforms || 'linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/riscv64,linux/s390x' }}
build_platforms: ${{ github.event.inputs.build_platforms || 'linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/riscv64' }}
secrets: inherit

one_api_release:
Expand Down
24 changes: 24 additions & 0 deletions Docker/certimate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,28 @@ docker pull registry.cn-beijing.aliyuncs.com/funnyzak/certimate:latest
docker run -d --name certimate_server -p 8090:8090 -v $(pwd)/data:/app/pb_data --restart unless-stopped funnyzak/certimate:latest
```

### Docker Compose Deployment

```yaml
version: '3.7'
services:
certimate:
image: funnyzak/certimate:latest
container_name: certimate_server
ports:
- "8090:8090"
volumes:
- ./data:/app/pb_data
restart: unless-stopped
```
After completing the installation steps above, you can access the Certimate admin panel at:
http://127.0.0.1:8090
Default credentials:
- Username: [email protected]
- Password: 1234567890
More information can be found at [certimate](https://github.com/usual2970/certimate).
1 change: 0 additions & 1 deletion Docker/cron/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ services:
environment:
- TZ=Asia/Shanghai
- LANG=C.UTF-8
- CRON_TAIL=1
- CRON_STRINGS=* * * * * /scripts/echo.sh >> /var/log/cron/cron.log 2>&1
restart: on-failure
volumes:
Expand Down

0 comments on commit 974d644

Please sign in to comment.