mirror of
https://github.com/fccview/cronmaster.git
synced 2025-12-24 14:38:38 -05:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
032c63cfbd | ||
|
|
89fed1f1b4 | ||
|
|
129f4d8464 | ||
|
|
9d42a99c71 | ||
|
|
5eef50aeb9 | ||
|
|
47ad6d764c | ||
|
|
185afc0022 | ||
|
|
0b4ebe7240 | ||
|
|
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"]
|
||||
branches: ["main", "legacy", "feature/*", "bugfix/*"]
|
||||
tags: ["v*.*.*"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
@@ -22,6 +22,12 @@ 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:
|
||||
@@ -45,6 +51,7 @@ 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,8 +75,24 @@ 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
|
||||
@@ -85,7 +101,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,3 +38,5 @@ 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