@nik202 Yes, please. Shall I add the “final” solution here? Thanks again
@threxx yes please.
@nik202 in the docker-compose.yml
I had to change the volumes of the action_server
from:
volumes:
- ./actions:/app/actions
- ./data:/app/data
to:
volumes:
- ./rasa/projects/abc_en/actions:/app/actions
- ./rasa/projects/abc_en/data:/app/data
@threxx Bit confused with your solution honestly, what about the above 45 suggestions? It should be compiled solution. OR. confirm to me in the above original post you have just added the volumes? Thanks.
@nik202 The solution was many many steps, as anybody can read in this thread. The final piece of the puzzle was the volumes, as I needed to set the correct path there. I can try to add a longer solution, with summarizes the thread, but I am unsure if this is really useful (as there is the thread to follow)
@threxx even if you can share the code snippet that will be the solution. I only asked this because docker-compose is the highly popular installation method. The reader can be confused while reading the conversation between us. Anyways, it’s good you solved the issue. Good luck with your project.
@nik202 I will post my docker-compose.yml here, so everyone understands the final result and this discussion.
Short explanation: abc_en is the project folder with all the necessary data (domain, stories, action etc). Also abc_de differing in language exists. The problem here was, that I did not set the root volume of the action_server right, as my actions are in ./rasa/abc_en/actions
and not in ./rasa/actions
as many other projects.
version: '3'
services:
rasa:
user: root
build:
context: ./rasa/abc_en
volumes:
- "./rasa/abc_en:/app"
ports:
- "5005:5005"
action_server:
build:
context: ./rasa/abc_en/actions
volumes:
- ./rasa/abc_en/actions:/app/actions
- ./rasa/abc_en/data:/app/data
ports:
- 5055:5055
The Dockerfiles are according to @nik202’s guide. Now everything works perfectly fine.
@threxx Thanks for the solution and tips for other readers.