Compare commits
4 Commits
bb7bad029a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 28774095e4 | |||
| 2ecee579bb | |||
| 23a2757032 | |||
| 6e829100c4 |
@ -2,7 +2,12 @@ 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:
|
||||||
@ -13,12 +18,12 @@ jobs:
|
|||||||
- name: Login to container registry
|
- name: Login to container registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: gitea.local.chriphost.de
|
registry: gitea.vps.chriphost.de
|
||||||
username: ${{ secrets.CONTAINER_REGISTRY_USER }}
|
username: ${{ secrets.CONTAINER_REGISTRY_USER }}
|
||||||
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
|
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: docker build . --file Dockerfile --tag gitea.local.chriphost.de/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 gitea.local.chriphost.de/christoph/airsignal:latest
|
run: docker push gitea.vps.chriphost.de/christoph/airsignal:latest
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user