From a7c61b9e971e0b0877f251a9e820e025260f229a Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Wed, 15 Apr 2020 23:23:21 +0300 Subject: [PATCH] OSP changing quote characters to double quote. Reformatting to 2 space indentation. --- open-streaming-platform/docker-compose.yml | 55 +++++++++++----------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/open-streaming-platform/docker-compose.yml b/open-streaming-platform/docker-compose.yml index 939d328..92b361d 100644 --- a/open-streaming-platform/docker-compose.yml +++ b/open-streaming-platform/docker-compose.yml @@ -1,29 +1,30 @@ # https://gitlab.com/Deamos/flask-nginx-rtmp-manager/-/blob/master/docker-compose.yml -version: '3.4' +version: '3.7' + services: - redis: - image: redis - container_name: ospredis - expose: - - 6379 - app: - image: deamos/openstreamingplatform - ports: - - '1935:1935' - - 'localhost:8585:80' - - 'localhost:8553:443' - environment: - - REDIS_HOST="ospredis" - - REDIS_PORT=6379 - - REDIS_PASSWORD="" - env_file: .env - volumes: - - "${STORAGE_DIR}:/var/www" - - "${DATABASE_DIR}:/opt/osp/db" - - "${NGINX_DIR}:/usr/local/nginx/conf" - restart: unless-stopped - logging: - driver: "json-file" - options: - max-size: "${LOG_MAX_SIZE:-5m}" - max-file: "${LOG_MAX_FILE:-5}" \ No newline at end of file + redis: + image: redis + container_name: ospredis + expose: + - 6379 + app: + image: deamos/openstreamingplatform + ports: + - "1935:1935/tcp" + - "localhost:8585:80/tcp" + - "localhost:8553:443/tcp" + environment: + - REDIS_HOST="ospredis" + - REDIS_PORT=6379 + - REDIS_PASSWORD="" + env_file: .env + volumes: + - "${STORAGE_DIR}:/var/www" + - "${DATABASE_DIR}:/opt/osp/db" + - "${NGINX_DIR}:/usr/local/nginx/conf" + restart: unless-stopped + logging: + driver: "json-file" + options: + max-size: "${LOG_MAX_SIZE:-5m}" + max-file: "${LOG_MAX_FILE:-5}"