Switch from v2 to latest
This commit is contained in:
parent
eb96dabb06
commit
0da9fcfd97
4 changed files with 18 additions and 18 deletions
28
.github/workflows/dev-docker-io.yml
vendored
28
.github/workflows/dev-docker-io.yml
vendored
|
|
@ -25,18 +25,18 @@ jobs:
|
|||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Login to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
# - name: Login to GHCR
|
||||
# uses: docker/login-action@v3
|
||||
# with:
|
||||
# registry: ghcr.io
|
||||
# username: ${{ github.actor }}
|
||||
# password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.TAGS }}
|
||||
# - name: Build and push
|
||||
# uses: docker/build-push-action@v6
|
||||
# with:
|
||||
# context: .
|
||||
# platforms: linux/amd64
|
||||
# push: true
|
||||
# tags: |
|
||||
# ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.TAGS }}
|
||||
|
|
@ -49,7 +49,7 @@ docker run --name wyl \
|
|||
-e "TZ=$YOURTIMEZONE" \
|
||||
--network="host" \
|
||||
-v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \
|
||||
aceberg/watchyourlan:v2
|
||||
aceberg/watchyourlan
|
||||
```
|
||||
Web GUI should be at http://localhost:8840
|
||||
|
||||
|
|
@ -174,7 +174,7 @@ docker run --name wyl \
|
|||
-e "TZ=$YOURTIMEZONE" \
|
||||
--network="host" \
|
||||
-v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \
|
||||
aceberg/watchyourlan:v2 -n "http://$YOUR_IP:8850"
|
||||
aceberg/watchyourlan -n "http://$YOUR_IP:8850"
|
||||
```
|
||||
Or use [docker-compose](docker-compose-local.yml)
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ services:
|
|||
ports:
|
||||
- 8850:8850
|
||||
wyl:
|
||||
image: aceberg/watchyourlan:v2
|
||||
image: aceberg/watchyourlan
|
||||
network_mode: "host"
|
||||
restart: unless-stopped
|
||||
command: "-n http://YOUR_IP:8850" # put your server IP or DNS name here
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
version: "3"
|
||||
services:
|
||||
wyl:
|
||||
image: aceberg/watchyourlan:v2
|
||||
image: aceberg/watchyourlan
|
||||
network_mode: "host"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Reference in a new issue