# Configuration variables # By default, platform. Override this when you want to build for another platform. CONFIG_DOCKER_BUILD_PLATFORM="linux/amd64,linux/arm64" # These are SSH keys used by Ansible to connect to hosts on BusNet. This key pair will be auto # generated. CONFIG_ANSIBLE_KEY_NAME="ansiblebusnet" # This is the location of the ssh keys on your computer. CONFIG_ANSIBLE_KEY_DIR="${HOME}/.ssh" # This is where we mount the ssh key dir inside of a container. CONFIG_ANSIBLE_KEY_DIR_INSIDE="/opt/busnet/ssh-keys" # Mount these volumes on all containers we run CONFIG_DOCKER_MOUNTS="--mount src="/opt/busnet/git,target=/opt/busnet/git,type=bind" --mount src="/opt/busnet/data,target=/opt/busnet/data,type=bind" --mount src="${CONFIG_ANSIBLE_KEY_DIR},target=${CONFIG_ANSIBLE_KEY_DIR_INSIDE},type=bind" -v /var/run/docker.sock:/var/run/docker.sock " # Include this environment variables on all containers we run CONFIG_DOCKER_ENV="--env ANSIBLE_DIR=$ANSIBLE_DIR --env REAL_HOSTNAME=$HOSTNAME "