aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-11-30 03:58:18 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-01 05:23:11 +0300
commit21c137302332f969eae34b407ad298b03ff16497 (patch)
tree1bd4937973c1db62c351b74d8c7c6c01ccd5cd4f /docker-compose.yml
parentinitial commit (diff)
downloadmath-server-21c137302332f969eae34b407ad298b03ff16497.tar.gz
math-server-21c137302332f969eae34b407ad298b03ff16497.zip
add Docker files
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml18
1 files changed, 18 insertions, 0 deletions
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