Moodle Set Up
1. Download the credentials for testing or production from the alebat-env bucket
URI: s3://alebat-env/ae-moodle/
2. Name credentials file as ‘credentials’ and put into the credentials folder
- credentials/ credentials3. Build Dockerfile
docker build -t ae-moodle:tag -f Dockerfile.moodle.prod .4. Push to ECR repository
aws ecr get-login-password --region eu-west-1 --profile <YOUR_AWS_SSO_ACCOUNT> | docker login --username AWS --password-stdin [id cuenta].dkr.ecr.eu-west-1.amazonaws.com
docker tag ae-moodle:tag [id cuenta].dkr.ecr.eu-west-1.amazonaws.com/ae-moodle:tag
docker push [id cuenta].dkr.ecr.eu-west-1.amazonaws.com/ae-moodle:tag