Add port comments and CI workflow to trigger svxlink-docker rebuild
- Annotate docker-compose port mappings with their purpose - Add GitHub Actions workflow that dispatches a rebuild event to audric/svxlink-docker on every push to master
This commit is contained in:
1 parent
b8d0dd19af
commit
67e3712d02
2 files changed
+20
-4
No files matched your search
@@ -0,0 +1,16 @@
|
|||||||
|
name: Trigger Docker image rebuild
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
trigger:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Dispatch rebuild to svxlink-docker
|
||||||
|
run: |
|
||||||
|
gh api repos/audric/svxlink-docker/dispatches \
|
||||||
|
-f event_type=rebuild
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.DOCKER_REPO_TOKEN }}
|
||||||
+4
-4
@@ -3,10 +3,10 @@ services:
|
|||||||
build: .
|
build: .
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "5300:5300/tcp"
|
- "5300:5300/tcp" # client TCP
|
||||||
- "5300:5300/udp"
|
- "5300:5300/udp" # client UDP
|
||||||
- "5302:5302/tcp"
|
- "5302:5302/tcp" # trunk server
|
||||||
- "8080:8080/tcp" # remove if HTTP_SRV_PORT is not set in config
|
- "8080:8080/tcp" # HTTP status endpoint — remove if HTTP_SRV_PORT is not set in config
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/svxreflector.conf:/etc/svxlink/svxreflector.conf:ro
|
- ./config/svxreflector.conf:/etc/svxlink/svxreflector.conf:ro
|
||||||
- pki:/etc/svxlink/pki # persistent storage for certificates
|
- pki:/etc/svxlink/pki # persistent storage for certificates
|
||||||
|
|||||||
Reference in new issue
Block a user