From 84b5008937aea6465ff583030b1d79d7800c47e0 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Sat, 31 Oct 2020 09:30:32 +0000 Subject: [PATCH] Add the go ytproxy. --- docker-compose.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 8eeb821..f43914f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3.8' +version: "3.8" services: mariadb: image: mariadb:10.5 @@ -9,9 +9,15 @@ services: MYSQL_PASSWORD: changeme restart: unless-stopped volumes: - - mysql:/var/lib/mysql + - mysql:/var/lib/mysql healthcheck: - test: ["CMD", "mysqladmin", "ping", "--silent"] + test: ["CMD", "mysqladmin", "ping", "--silent"] + ytproxy: + image: 1337kavin/ytproxy:latest + restart: unless-stopped + volumes: + - "/var/run/ytproxy:/app/socket/" + network_mode: host yotter: image: ytorg/yotter:latest restart: unless-stopped @@ -21,9 +27,10 @@ services: DATABASE_URL: mysql+pymysql://yotter:changeme@mariadb:3306/yotter depends_on: - mariadb + - ytproxy volumes: - - migrations:/usr/src/app/migrations - - ./yotter-config.json:/usr/src/app/yotter-config.json + - migrations:/usr/src/app/migrations + - ./yotter-config.json:/usr/src/app/yotter-config.json volumes: mysql: migrations: