mirror of
https://github.com/fccview/cronmaster.git
synced 2025-12-24 06:28:26 -05:00
Compare commits
1 Commits
feature/AR
...
1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d882c6caa |
9
.github/workflows/docker-publish.yml
vendored
9
.github/workflows/docker-publish.yml
vendored
@@ -2,7 +2,7 @@ name: Docker
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main", "feature/*"]
|
||||
branches: ["main"]
|
||||
tags: ["v*.*.*"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
@@ -22,12 +22,6 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
@@ -51,7 +45,6 @@ jobs:
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
18
README.md
18
README.md
@@ -75,24 +75,8 @@ services:
|
||||
- ./snippets:/app/snippets
|
||||
restart: unless-stopped
|
||||
init: true
|
||||
# Default platform is set to amd64, can be overridden by using arm64.
|
||||
#platform: linux/arm64
|
||||
```
|
||||
|
||||
### ARM64 Support
|
||||
|
||||
The application supports both AMD64 and ARM64 architectures:
|
||||
|
||||
**For AMD64 users**: No changes needed - the default configuration works out of the box.
|
||||
|
||||
**For ARM64 users**: Uncomment the platform line in your `docker-compose.yml`:
|
||||
|
||||
```yaml
|
||||
platform: linux/arm64
|
||||
```
|
||||
|
||||
**Note**: Multi-platform Docker images are automatically built for both architectures. The image will automatically use the correct architecture for your platform.
|
||||
|
||||
2. Build and run with Docker Compose:
|
||||
|
||||
```bash
|
||||
@@ -101,7 +85,7 @@ docker compose up --build
|
||||
|
||||
3. Open your browser and navigate to `http://localhost:40123`
|
||||
|
||||
**Note**: The Docker implementation uses direct file access to read and write crontab files, ensuring real-time synchronization with the host system's cron jobs. This approach bypasses the traditional `crontab` command limitations in containerized environments
|
||||
**Note**: The Docker implementation uses direct file access to read and write crontab files, ensuring real-time synchronization with the host system's cron jobs. This approach bypasses the traditional `crontab` command limitations in containerized environments.
|
||||
|
||||
### Local Development
|
||||
|
||||
|
||||
@@ -38,5 +38,3 @@ services:
|
||||
- ./snippets:/app/snippets
|
||||
restart: unless-stopped
|
||||
init: true
|
||||
# Default platform is set to amd64, can be overridden by using arm64.
|
||||
#platform: linux/arm64
|
||||
|
||||
Reference in New Issue
Block a user