From 6f5ec62cc8a34623d71d1ccfa92c1b773d3151bb Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 23 Mar 2023 14:43:21 -0700 Subject: [PATCH] feat: add sonic to docker --- docker-compose.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f51cf1b9a9..5de14d0c8f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: depends_on: - db - redis -# - es + - sonic ports: - "3000:3000" networks: @@ -40,16 +40,14 @@ services: volumes: - ./db:/var/lib/postgresql/data -# es: -# restart: unless-stopped -# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.2 -# environment: -# - "ES_JAVA_OPTS=-Xms512m -Xmx512m" -# - "TAKE_FILE_OWNERSHIP=111" -# networks: -# - calcnet -# volumes: -# - ./elasticsearch:/usr/share/elasticsearch/data + sonic: + restart: unless-stopped + image: docker.io/valeriansaliou/sonic:v1.4.0 + networks: + - calcnet + volumes: + - ./sonic:/var/lib/sonic/store + - ./sonic/config.cfg:/etc/sonic.cfg networks: calcnet: