ministryofjustice / staff-device-dhcp-server

The ISC KEA server for serving DHCP requests (via a Docker image)
https://github.com/ministryofjustice/cloud-operations#dhcp--dns
MIT License
2 stars 3 forks source link

Revert "Make use of .env files in local development" #134

Closed wanieldilson closed 2 years ago

wanieldilson commented 2 years ago

Reverts ministryofjustice/staff-device-dhcp-server#88

This caused the below error in the pipeline.

./scripts/check_container_registry_account_id.sh

38 | docker-compose -f docker-compose.yml --env-file .env up -d db 39 | The PRIMARY_IP variable is not set. Defaulting to a blank string. 40 | The STANDBY_IP variable is not set. Defaulting to a blank string. 41 | The DB_USER variable is not set. Defaulting to a blank string. 42 | The DB_PASS variable is not set. Defaulting to a blank string. 43 | The DB_NAME variable is not set. Defaulting to a blank string. 44 | Couldn't find env file: /codebuild/output/src248544845/src/.env 45 | Makefile:39: recipe for target 'start-db' failed