tjarbo / discord-moodle-bot

Get notified about changes on moodle on you favorite platform!
https://docs.tjarbo.me/moodle-notification-service/1.0.0/home
GNU Affero General Public License v3.0
27 stars 2 forks source link

🐛 Error while trying to create docker container #229

Open FreshImmuc opened 2 years ago

FreshImmuc commented 2 years ago

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 commented 2 years ago

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.

tjarbo commented 2 years ago

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.

FreshImmuc commented 2 years ago

Sure, @tjarbo no worries, no time pressure!

Bogay commented 2 years ago

@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

tjarbo commented 2 years ago

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