1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
dockerfiles/openmeetings/docker-compose.yml
2021-02-01 14:51:00 +08:00

50 lines
1.1 KiB
YAML

version: '3.8'
services:
openmeetings:
image: apache/openmeetings:min-5.1.0
ports:
- "5080:5080"
volumes:
- ./data/omdata:/opt/omdata
environment:
- OM_KURENTO_WS_URL=ws://kurento:8888/kurento
- OM_DB_TYPE=postgresql
- OM_DB_HOST=postgresql
- OM_DB_PORT=5432
- OM_DB_USER=openmeetings
- OM_DB_PASS=openmeetings
- OM_DB_NAME=openmeetings
depends_on:
- kurento
- postgresql
restart: unless-stopped
kurento:
image: kurento/kurento-media-server
ports:
- "8888:8888"
restart: unless-stopped
postgresql:
image: postgres:alpine
volumes:
- ./data/postgresql:/var/lib/postgresql/data
environment:
- POSTGRES_USER=openmeetings
- POSTGRES_PASSWORD=openmeetings
- POSTGRES_DB=openmeetings
restart: unless-stopped
# mysql:
# image: mysql
# volumes:
# - ./data/mysql:/var/lib/mysql
# environment:
# - MYSQL_ROOT_PASSWORD=root
# - MYSQL_USER=openmeetings
# - MYSQL_PASSWORD=openmeetings
# - MYSQL_DATABASE=openmeetings
# restart: unless-stopped