updated debian
Some checks failed
Build and Push Docker image / Build and Push Docker image (push) Failing after 4m52s
Some checks failed
Build and Push Docker image / Build and Push Docker image (push) Failing after 4m52s
added arm support added usage
This commit is contained in:
parent
4ce8a0a81d
commit
1a7b8abadc
5 changed files with 30 additions and 3 deletions
|
@ -23,9 +23,12 @@ jobs:
|
|||
registry: cr.sp-codes.de
|
||||
username: ${{ secrets.CR_USERNAME }}
|
||||
password: ${{ secrets.CR_TOKEN }}
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64/v8
|
||||
push: true
|
||||
tags: |
|
||||
spcodes/coturn:4.6.2
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,4 @@
|
|||
.idea/
|
||||
*.iml
|
||||
|
||||
.local
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM debian:11.8-slim@sha256:b6d63c0260d528ebfd7c6e50d76ba7c9ff15698700a63e1f6b681876fffa6ff9
|
||||
FROM debian:12.2-slim
|
||||
|
||||
ENV COTURN_VERSION="4.6.2"
|
||||
ENV PROMETHEUS_CLIENT_VERSION="v0.1.3"
|
||||
|
|
17
README.md
17
README.md
|
@ -2,11 +2,24 @@
|
|||
|
||||
[![Build Status](https://ci.sp-codes.de/api/badges/sp-codes/coturn/status.svg)](https://ci.sp-codes.de/sp-services/coturn) [![License](https://img.shields.io/badge/license-AGPL--3.0-purple)](#license) [![Docker Pulls](https://img.shields.io/docker/pulls/spcodes/coturn)](https://hub.docker.com/r/spcodes/coturn)
|
||||
|
||||
The Coturn Docker Image for [coturn.sp-codes.de](https://coturn.sp-codes.de)
|
||||
The Coturn Docker Image for [coturn.sp-codes.de](https://coturn.sp-codes.de). Supports Prometheus metrics.
|
||||
|
||||
## Usage
|
||||
|
||||
tbd
|
||||
Example `docker-compose.yml`:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
coturn:
|
||||
image: cr.sp-codes.de/sp-codes/coturn
|
||||
restart: always
|
||||
volumes:
|
||||
- ./turnserver.conf:/etc/turnserver.conf:ro
|
||||
- ./certificates:/certificates:ro
|
||||
network_mode: host
|
||||
```
|
||||
|
||||
Adjust the `turnserver.conf` to your needs (https://github.com/coturn/coturn/blob/master/docs/Configuration.md). If you have enabled `prometheus` you can get the metrics with http://localhost:9641/metrics.
|
||||
|
||||
## License
|
||||
|
||||
|
|
9
docker-compose.yml
Normal file
9
docker-compose.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
services:
|
||||
coturn:
|
||||
# image: cr.sp-codes.de/sp-codes/coturn
|
||||
build: .
|
||||
restart: always
|
||||
volumes:
|
||||
- ./.local/turnserver.conf:/etc/turnserver.conf:ro
|
||||
- ./.local/certificates:/certificates:ro
|
||||
network_mode: host
|
Reference in a new issue