Create the docker-compose.yaml and start the containers. To make this work you need a public ssh key to be injected into the "bastion" container.
SSH_PUBLIC_KEY=`cat ~/.ssh/id_rsa.pub` podman compose upSave the name of the database container:
export DB_CONTAINER_NAME=$(podman ps --format '{{.Names}}'| grep "db-1")List all databases to see what we have there:
podman exec -it ${DB_CONTAINER_NAME} psql -U postgres -lStore main.tf into a file and run the following:
tofu init
tofu apply -var=target_db_domain=${DB_CONTAINER_NAME}