Use Mischlabs container registry
Some checks failed
Build & Push Docker Image / build-and-push (push) Failing after 13s
Some checks failed
Build & Push Docker Image / build-and-push (push) Failing after 13s
This commit is contained in:
4
.github/workflows/docker-build.yml
vendored
4
.github/workflows/docker-build.yml
vendored
@@ -5,7 +5,7 @@ on:
|
|||||||
branches: [master]
|
branches: [master]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: git.mischlabs.de
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Log in to GitHub Container Registry
|
- name: Log in to package registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ To deploy on a NAS or Linux server, adjust the `docker-compose.yml` to match you
|
|||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
photography-website:
|
photography-website:
|
||||||
image: ghcr.io/kroonk/photography:latest
|
image: git.mischlabs.de/mrdiderot/photography:latest
|
||||||
container_name: photography-website
|
container_name: photography-website
|
||||||
ports:
|
ports:
|
||||||
- "8090:8090"
|
- "8090:8090"
|
||||||
@@ -28,7 +28,7 @@ services:
|
|||||||
- INITIAL_ADMIN_PASSWORD=Start123
|
- INITIAL_ADMIN_PASSWORD=Start123
|
||||||
- FULLS_DIR=/app/public/images/fulls
|
- FULLS_DIR=/app/public/images/fulls
|
||||||
- THUMBS_DIR=/app/public/images/thumbs
|
- THUMBS_DIR=/app/public/images/thumbs
|
||||||
- SYNC_IMAGE=ghcr.io/kroonk/photography:latest
|
- SYNC_IMAGE=git.mischlabs.de/mrdiderot/photography:latest
|
||||||
- SYNC_CONTAINER=photography-website
|
- SYNC_CONTAINER=photography-website
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/nextcloud/data:/app/public/images/fulls:ro
|
- /path/to/nextcloud/data:/app/public/images/fulls:ro
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
photography:
|
photography:
|
||||||
image: ghcr.io/kroonk/photography:latest
|
image: git.mischlabs.de/mrdiderot/photography:latest
|
||||||
container_name: photography-website
|
container_name: photography-website
|
||||||
ports:
|
ports:
|
||||||
- "8090:8090"
|
- "8090:8090"
|
||||||
@@ -10,7 +10,7 @@ services:
|
|||||||
- INITIAL_ADMIN_PASSWORD=Start123
|
- INITIAL_ADMIN_PASSWORD=Start123
|
||||||
- FULLS_DIR=/app/public/images/fulls
|
- FULLS_DIR=/app/public/images/fulls
|
||||||
- THUMBS_DIR=/app/public/images/thumbs
|
- THUMBS_DIR=/app/public/images/thumbs
|
||||||
- SYNC_IMAGE=ghcr.io/kroonk/photography:latest
|
- SYNC_IMAGE=git.mischlabs.de/mrdiderot/photography:latest
|
||||||
- SYNC_CONTAINER=photography-website
|
- SYNC_CONTAINER=photography-website
|
||||||
volumes:
|
volumes:
|
||||||
# Nextcloud-Ordner mit Originalbildern (read-only)
|
# Nextcloud-Ordner mit Originalbildern (read-only)
|
||||||
@@ -32,7 +32,7 @@ services:
|
|||||||
command: photography-website
|
command: photography-website
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
# GitHub Login von deinem NAS uebernehmen, um ghcr.io lesen zu duerfen
|
# Registry Login von deinem NAS uebernehmen, um private Images lesen zu duerfen
|
||||||
- ~/.docker/config.json:/config.json:ro
|
- ~/.docker/config.json:/config.json:ro
|
||||||
environment:
|
environment:
|
||||||
- WATCHTOWER_CLEANUP=true
|
- WATCHTOWER_CLEANUP=true
|
||||||
|
|||||||
Reference in New Issue
Block a user