Unable to change port for action server while launching it throught docker

@Jainil-Gosalia Strange basically it should work, but do try this below code may be it help. Can you please remove the container / image and again docker-compose up --build and share the docker ps -a for me let check on which port the containers are running. Or if there is no harm let it run on 5055 if you are not using that port.

  action_server:
    image: rasa/rasa-sdk:1.10.2
    volumes:
      - ./rasa/actions:/app/actions
    ports:
      - 5056:5056
 action_server:
    image: rasa/rasa-sdk:1.10.2
    volumes:
      - ./rasa/actions:/app/actions
    ports:
      - 5056:5056
    command:
     - rasa 
     - run
     - actions
     - p 5056

Original Terminal Command without docker container:

rasa run actions -p 5056 --debug

@Jainil-Gosalia can I even request you to please use the latest image for rasa and rasa-sdk

 image: rasa/rasa:latest
 image: rasa/rasa-sdk:latest

@Jainil-Gosalia even you can ref this thread: Dockerizing my rasa chatbot application that has botfront - #11 by nik202

I wish that this will solve your issue and if your problem persist do let me know please. Good Luck!