File tree Expand file tree Collapse file tree
ansible-playbooks/frontend-application
components/terraform/_vars/dev Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ services:
22 blue-web: &frontend
33 container_name: blue-web
44 env_file: /var/docker/frontend.env
5- image: "ghcr.io/nationalarchives/ds-frontend:feature-arm "
5+ image: "ghcr.io/nationalarchives/ds-frontend:25.05.30.1210 "
66 labels:
77 - "traefik.enable=true"
88 - "traefik.docker.network='traefik_webgateway'"
Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ sudo dnf -y install wget
3434echo " $( date ' +%Y-%m-%d %T' ) - install docker-compose" | sudo tee -a /var/log/ami-install.log > /dev/null
3535sudo curl -s https://api.github.com/repos/docker/compose/releases/latest \
3636 | grep browser_download_url \
37- | grep docker-compose-linux-aarch64 \
37+ | grep docker-compose-linux-x86_64 \
3838 | cut -d ' "' -f 4 \
3939 | sudo wget -qi -
40- sudo chmod +x docker-compose-linux-aarch64
41- sudo mv docker-compose-linux-aarch64 /usr/local/bin/docker-compose
40+ sudo chmod +x docker-compose-linux-x86_64
41+ sudo mv docker-compose-linux-x86_64 /usr/local/bin/docker-compose
4242
4343# install yq
4444echo " $( date ' +%Y-%m-%d %T' ) - install yq" | sudo tee -a /var/log/ami-install.log > /dev/null
45- sudo wget https://github.com/mikefarah/yq/releases/download/v4.43.1/yq_linux_arm64 -O /usr/bin/yq && sudo chmod +x /usr/bin/yq
45+ sudo wget https://github.com/mikefarah/yq/releases/download/v4.43.1/yq_linux_amd64 -O /usr/bin/yq && sudo chmod +x /usr/bin/yq
4646
4747echo " $( date ' +%Y-%m-%d %T' ) - start docker" | sudo tee -a /var/log/ami-install.log > /dev/null
4848sudo systemctl enable docker
Original file line number Diff line number Diff line change 2222 region : " {{ region }}"
2323 filters :
2424 name : " al2023-ami-2023*"
25- architecture : " arm64 "
25+ architecture : " x86_64 "
2626 register : findami
2727
2828 - name : set latest AMI
Original file line number Diff line number Diff line change 3232 branch : " ${{ github.event.inputs.branch }}"
3333 account : " ${{ github.event.inputs.account }}"
3434 key_name : " web-frontend-${{ github.event.inputs.account }}-eu-west-2"
35- instance_type : " t4g .medium"
35+ instance_type : " t3a .medium"
3636 volume_size : 20
3737 s3_deployment_bucket : " ds-${{ github.event.inputs.account }}-deployment-source"
3838 s3_deployment_root : " web/frontend"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ web_frontend_deployment_s3_bucket = "ds-dev-deployment-source"
22web_frontend_folder_s3_key = " web/frontend"
33
44web_frontend_efs_mount_dir = " /media"
5- web_frontend_instance_type = " t4g .medium"
5+ web_frontend_instance_type = " t3a .medium"
66web_frontend_auto_switch_on = true
77web_frontend_auto_switch_off = true
88
You can’t perform that action at this time.
0 commit comments