version: '3'
services:
  wscef:
    container_name: wscef
    image: farribeiro/wscef-docker
    build: .
    devices:
      - /dev/snd:/dev/snd
    environment:
      - LANG=pt_BR.UTF-8
      - DISPLAY=${DISPLAY}
      - XAUTHORITY=/home/ff/.Xauthority
      - HOST_HOSTNAME=${HOSTNAME}
    cpuset: '0'
    mem_limit: 512M
    shm_size: 2g
    volumes:
      - /dev/shm:/dev/shm
      - /tmp/.X11-unix:/tmp/.X11-unix
      - ${XAUTHORITY}:/tmp/.docker.xauth:ro
      - ~/BankFiles:/home/ff/Downloads
      - /etc/machine-id:/etc/machine-id:ro

version: '3'
services:
  wscef:
    container_name: wscef
    image: farribeiro/wscef-docker
    build: .
    devices:
      - /dev/snd:/dev/snd
    environment:
      - LANG=pt_BR.UTF-8
      - DISPLAY=${DISPLAY}
      - XAUTHORITY=/home/ff/.Xauthority
      - HOST_HOSTNAME=${HOSTNAME}
    deploy:
      resources:
        limits:
          cpus: '0.50'
          memory: 512M
    shm_size: 2g
    volumes:
      - /dev/shm:/dev/shm
      - /tmp/.X11-unix:/tmp/.X11-unix
      - ${XAUTHORITY}:/tmp/.docker.xauth:ro
      - ~/BankFiles:/home/ff/Downloads
      - /etc/machine-id:/etc/machine-id:ro

Migrate limits definitions from v2 to v3
Migrate limits definitions from v2 to v3
