aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/docker-compose.yml
blob: e7af265f75963a98a6be7a7f7b0a2a0433d33f4c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                   
                                                                    
                                 
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: ["/opt/math-server/bin/math-client", "-H", "server"]
    image: egortensin/math-client