OSP changing quote characters to double quote. Reformatting to 2 space indentation.

This commit is contained in:
Alexey Skobkin 2020-04-15 23:23:21 +03:00
parent c617a7c14b
commit a7c61b9e97
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -1,29 +1,30 @@
# https://gitlab.com/Deamos/flask-nginx-rtmp-manager/-/blob/master/docker-compose.yml # https://gitlab.com/Deamos/flask-nginx-rtmp-manager/-/blob/master/docker-compose.yml
version: '3.4' version: '3.7'
services: services:
redis: redis:
image: redis image: redis
container_name: ospredis container_name: ospredis
expose: expose:
- 6379 - 6379
app: app:
image: deamos/openstreamingplatform image: deamos/openstreamingplatform
ports: ports:
- '1935:1935' - "1935:1935/tcp"
- 'localhost:8585:80' - "localhost:8585:80/tcp"
- 'localhost:8553:443' - "localhost:8553:443/tcp"
environment: environment:
- REDIS_HOST="ospredis" - REDIS_HOST="ospredis"
- REDIS_PORT=6379 - REDIS_PORT=6379
- REDIS_PASSWORD="" - REDIS_PASSWORD=""
env_file: .env env_file: .env
volumes: volumes:
- "${STORAGE_DIR}:/var/www" - "${STORAGE_DIR}:/var/www"
- "${DATABASE_DIR}:/opt/osp/db" - "${DATABASE_DIR}:/opt/osp/db"
- "${NGINX_DIR}:/usr/local/nginx/conf" - "${NGINX_DIR}:/usr/local/nginx/conf"
restart: unless-stopped restart: unless-stopped
logging: logging:
driver: "json-file" driver: "json-file"
options: options:
max-size: "${LOG_MAX_SIZE:-5m}" max-size: "${LOG_MAX_SIZE:-5m}"
max-file: "${LOG_MAX_FILE:-5}" max-file: "${LOG_MAX_FILE:-5}"