From 21c137302332f969eae34b407ad298b03ff16497 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 30 Nov 2019 03:58:18 +0300 Subject: add Docker files --- docker-compose.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docker-compose.yml (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..94754dd --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3' +services: + server: + build: + context: . + dockerfile: server/Dockerfile + expose: + - 18000 + image: egortensin/math-server + ports: + - 18000:18000 + restart: always + client: + build: + context: . + dockerfile: client/Dockerfile + entrypoint: ["/tmp/build/client/client", "-H", "server"] + image: egortensin/math-client -- cgit v1.2.3