diff options
Diffstat (limited to '')
-rw-r--r-- | docker-compose.yml | 18 |
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 |