########################################################################
# This file is used as a template for the docker-compose.yaml file     #
# you will find at the root of your project when running `botfront up` #
########################################################################

version: "3.0"
services:
  actions:
    build:
      context: ./actions
      args:
        RASA_SDK_IMAGE: ${IMAGES_CURRENT_ACTIONS}
    container_name: botfront-actions
    networks: ["botfront-network"]
    restart: always
    ports:
      - "5055:5055"
    volumes:
      - "./actions:/app/actions"
    command:
      - start
      - --debug
      - --actions
      - actions
    env_file:
      - .env

networks:
  botfront-network: {}