discord-moodle-bot icon indicating copy to clipboard operation
discord-moodle-bot copied to clipboard

🐛 Error while trying to create docker container

Open FreshImmuc opened this issue 3 years ago • 5 comments

I followed the new documentation and got here: https://docs.tjarbo.me/moodle-notification-service/2.0.0/getting-started/deploy-with-docker then i created the .env file and also the docker-compose.yml.

Then while trying to create the container, this error shows up: image

I tried to remove these two "sections" cause both of them gave an error, but obviously it didn't work after that. OnPaste 20220828-020344

FreshImmuc avatar Aug 28 '22 00:08 FreshImmuc

Okay so this error still exists but i installed version 1 now right through docker and it works. But, what file includes the discord messages? I want to translate them.

FreshImmuc avatar Aug 29 '22 14:08 FreshImmuc

Hi @FreshImmuc we are currently having our finals - quite stressful right now. It has been a long time, since the last commit - there are many things to fix, but I guess I will have some time the coming weekend. So, I will have a look on your ticket then.

tjarbo avatar Aug 30 '22 06:08 tjarbo

Sure, @tjarbo no worries, no time pressure!

FreshImmuc avatar Aug 30 '22 09:08 FreshImmuc

@FreshImmuc According to the official doc, I think the correct key should be env_file and environment instead of env-file and env. https://docs.docker.com/compose/compose-file/compose-file-v3/#env_file https://docs.docker.com/compose/compose-file/compose-file-v3/#environment

Bogay avatar Sep 02 '22 18:09 Bogay

Thank you @Bogay! Indeed, I used the wrong properties. I updated to docs accordingly, @FreshImmuc.

tjarbo avatar Sep 08 '22 10:09 tjarbo