Compare commits
4 commits
1f2081ed4a
...
7d4be4ebdd
Author | SHA1 | Date | |
---|---|---|---|
7d4be4ebdd | |||
8188bd441a | |||
e0c0f9c7ec | |||
1a7b8abadc |
6 changed files with 37 additions and 17 deletions
|
@ -24,7 +24,7 @@ jobs:
|
|||
username: ${{ secrets.CR_USERNAME }}
|
||||
password: ${{ secrets.CR_TOKEN }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
tags: |
|
||||
|
|
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@sha256:93ff361288a7c365614a5791efa3633ce4224542afb6b53a1790330a8e52fc7d
|
||||
|
||||
ENV COTURN_VERSION="4.6.2"
|
||||
ENV PROMETHEUS_CLIENT_VERSION="v0.1.3"
|
||||
|
|
19
README.md
19
README.md
|
@ -1,12 +1,25 @@
|
|||
# [Coturn](https://git.sp-codes.de/sp-codes/coturn)
|
||||
|
||||
[![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)
|
||||
[![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
|
|
@ -36,20 +36,16 @@
|
|||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"datasources": [
|
||||
"github-releases"
|
||||
],
|
||||
"groupName": [
|
||||
"coturn"
|
||||
]
|
||||
},
|
||||
{
|
||||
"datasources": [
|
||||
"matchDatasources": [
|
||||
"docker"
|
||||
],
|
||||
"groupName": [
|
||||
"docker images"
|
||||
]
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"patch",
|
||||
"digest"
|
||||
],
|
||||
"automerge": true,
|
||||
"automergeType": "branch"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Reference in a new issue