From 3a66caa80a6a74833a20546d27676e0c5c712641 Mon Sep 17 00:00:00 2001 From: Mahmud Ridwan Date: Thu, 17 Jun 2021 14:09:25 +0600 Subject: [PATCH] Add docker-compose.yml --- docker-compose.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..d0516be --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,19 @@ +version: '3.8' +services: + web: + build: + context: ./docker + dockerfile: Dockerfile + ports: + - "0.0.0.0:26590:26590" + - "0.0.0.0:26080:80" + volumes: + - loadcat:/var/lib/loadcat + - ./loadcatd:/usr/bin/loadcatd + - ./ui/templates:/var/lib/loadcat/ui/templates + working_dir: /var/lib/loadcat + command: loadcatd -config /etc/loadcat.conf + +volumes: + loadcat: + driver: "local"