docker-compose-service.yml 598 Bytes
version: '3.3'
services:
  account:
    image: pro2d
    container_name: account-pro2d
    restart: always
    ports:
      - '8080:8080'
      - '6061:6060' #debug
    volumes:
      - ./.docker/account_logs:/data/logs
      - ./conf.yml:/data/conf/conf.yml
    working_dir: /data
    command: [./http]
  game:
    image: pro2d
    container_name: game-pro2d
    restart: always
    ports:
      - '8849:8849'
      - '6060:6060' #debug
      - '8880:8880' #gm
    volumes:
      - ./.docker/game_logs:/data/logs
      - ./conf.yml:/data/conf/conf.yml
    working_dir: /data
    command: [./game]