mirror of
https://github.com/coturn/coturn.git
synced 2025-10-22 19:41:27 +02:00
20 lines
505 B
Docker
20 lines
505 B
Docker
Before you begin
|
|
* copy db schema run ./cp-schema.sh
|
|
* edit coturn/turnserver.conf according your db selection (mysql or postgresql or redis or mongodb)
|
|
|
|
# start
|
|
|
|
docker-compose -f docker-compose-all.yml up --build --detach
|
|
|
|
# restart
|
|
Notice: May restart needed for coturn container, if it could not access database yet, due initialization delay.
|
|
docker restart docker_coturn_1
|
|
|
|
# stop
|
|
docker-compose -f docker-compose-all.yml down
|
|
|
|
|
|
# Or Stop with volume removal
|
|
docker-compose down --volumes
|
|
|