version: "3"

services:
  SSR_MU:
    image: luckytain/docker-ssrmu
    container_name: speeder
    restart: always
    ports:
     - "1025:1"
    logging:
      driver: "json-file"
      options:
        max-size: "50m"
        max-file: "3"
    environment:
      - NODE_ID=202
      - API_INTERFACE=modwebapi
      - SPEEDTEST=0
      - WEBAPI_TOKEN=
      - WEBAPI_URL=https://ssbackend.freefly.space

  gost:
    container_name: gost
    image: ginuerzh/gost
    restart: always
    depends_on:
      - SSR_MU
    links:
      - SSR_MU
    ports:
      - "1024:1024"
    logging:
      driver: "json-file"
      options:
        max-size: "50m"
        max-file: "3"
    command: ["-L", "relay+ws://:1024/SSR_MU:1"]