Compare commits

...

23 Commits

Author SHA1 Message Date
28774095e4 Run action on workflow update
All checks were successful
Build AirSignal Docker image / build-docker (push) Successful in 22s
2023-11-22 12:00:45 +01:00
2ecee579bb Update image repo path 2023-11-22 11:57:57 +01:00
23a2757032 Update readme 2023-11-10 12:27:04 +01:00
6e829100c4 Update workflow 2023-11-10 12:27:01 +01:00
bb7bad029a Update dockerfile
All checks were successful
Build AirSignal Docker image / build-docker (push) Successful in 22s
2023-11-09 17:32:19 +01:00
5c91b7283a Update workflow
All checks were successful
Build AirSignal Docker image / build-docker (push) Successful in 17s
2023-11-09 17:23:01 +01:00
a1d97d5c9a Update workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 10s
2023-11-09 17:22:08 +01:00
8d049fc57f Update workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 11s
2023-11-09 17:20:33 +01:00
5c50e87943 Update workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 2m33s
2023-11-09 16:46:08 +01:00
8ac1687958 Update workflow
Some checks reported warnings
Build AirSignal Docker image / build-docker (push) Has been cancelled
2023-11-09 16:29:03 +01:00
411d704ffe Update workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 14s
2023-11-09 16:28:27 +01:00
3be56b8d00 Update workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 47s
2023-11-09 14:51:39 +01:00
a1fad10574 Update workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 46s
2023-11-09 14:50:16 +01:00
4393e38626 Update workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 49s
2023-11-09 14:48:17 +01:00
bceb1e07d7 Update workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 1s
2023-11-09 14:47:39 +01:00
e18ec90769 Update workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 3s
2023-11-09 14:46:59 +01:00
b523e5adaf Update workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 46s
2023-11-09 02:20:09 +01:00
576796a5a2 Update workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 5s
2023-11-09 02:12:29 +01:00
972d457b01 Add workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 49s
2023-11-09 00:48:43 +01:00
15a0311f38 Remove workflow 2023-11-09 00:48:32 +01:00
5b4474001f Update workflow
Some checks reported warnings
Build AirSignal Docker image / build-docker (push) Has been cancelled
2023-11-09 00:45:24 +01:00
2fdf8ab2b1 Update workflow
Some checks reported warnings
Build AirSignal Docker image / build-docker (push) Has been cancelled
2023-11-09 00:44:23 +01:00
29e8ed363d Update workflow
Some checks reported warnings
Build AirSignal Docker image / build-docker (push) Has been cancelled
2023-11-09 00:30:16 +01:00
3 changed files with 22 additions and 7 deletions

View File

@ -2,18 +2,28 @@ name: Build AirSignal Docker image
on: on:
push: push:
branches: [master] branches: [master, main]
paths:
- ".gitea/workflows/docker.yaml"
- "Dockerfile"
- "*.js"
- "*.json"
jobs: jobs:
build-docker: build-docker:
runs-on: self-hosted runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - name: Checkout repository
uses: actions/checkout@v4
- name: Login to container registry - name: Login to container registry
run: echo ${{ secrets.CONTAINER_REGISTRY_TOKEN }} | docker login -u ${{ secrets.CONTAINER_REGISTRY_USER }} http://gitea:3000 uses: docker/login-action@v3
with:
registry: gitea.vps.chriphost.de
username: ${{ secrets.CONTAINER_REGISTRY_USER }}
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
- name: Build Docker image - name: Build Docker image
run: docker build . --file Dockerfile --tag christoph/airsignal:latest run: docker build . --file Dockerfile --tag gitea.vps.chriphost.de/christoph/airsignal:latest
- name: Push Docker image - name: Push Docker image
run: docker push christoph/airsignal:latest run: docker push gitea.vps.chriphost.de/christoph/airsignal:latest

View File

@ -17,4 +17,5 @@ RUN npm install
EXPOSE 12776 EXPOSE 12776
# Run AirSignal when the container launches # Run AirSignal when the container launches
CMD ["node", "server.js"] ENTRYPOINT ["node"]
CMD ["server.js"]

View File

@ -3,6 +3,10 @@ This is the nodejs webrtc signalling server code straight off the WebRTC Network
Use this to create a signalling server for WebRTC projects. AirSignal is used in [AirPeer](https://github.com/adrenak/airpeer), a general purpose WebRTC plugin for Unity as well as [UniVoice](https://github.com/adrenak/univoice), a VoIP solution for Unity based on AirPeer. Use this to create a signalling server for WebRTC projects. AirSignal is used in [AirPeer](https://github.com/adrenak/airpeer), a general purpose WebRTC plugin for Unity as well as [UniVoice](https://github.com/adrenak/univoice), a VoIP solution for Unity based on AirPeer.
## Installation (Docker)
Run `docker run --rm --name airsignal -p "12776:12776" -p "12776:12776/udp" -d gitea.vps.chriphost.de/christoph/airsignal:latest` to spin up the container.
## Installation ## Installation
Install [Nodejs](https://nodejs.org/en/) which comes with [NPM](https://www.npmjs.com/get-npm) Install [Nodejs](https://nodejs.org/en/) which comes with [NPM](https://www.npmjs.com/get-npm)
After installing run the following commands: After installing run the following commands: