9 Commits

Author SHA1 Message Date
fccview
032c63cfbd build legacy branches 2025-08-26 08:04:39 +01:00
fccview
89fed1f1b4 Merge branch 'feature/ARM64' 2025-08-25 17:43:43 +01:00
fccview
129f4d8464 trigger workflow 2025-08-25 14:04:00 +01:00
fccview
9d42a99c71 publish without dockerfile hardcoded platform 2025-08-25 13:57:51 +01:00
fccview
5eef50aeb9 fix docker publish 2025-08-25 13:42:05 +01:00
fccview
47ad6d764c update default docker-compose 2025-08-25 13:17:15 +01:00
fccview
185afc0022 Add support for arm64 2025-08-25 13:09:07 +01:00
fccview
0b4ebe7240 Add support for arm64 2025-08-25 13:05:45 +01:00
fccview
1d882c6caa Merge pull request #2 from fccview/BUG-1
Fix dockerized issue with scripts on build
2025-08-21 09:12:53 +01:00
3 changed files with 27 additions and 2 deletions

View File

@@ -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 }}

View File

@@ -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

View File

@@ -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