Requirements: docker, git-crypt
Setup:
-
From repo root, clone the infobob source into the right dir:
git clone [email protected]:pound-python/infobob.git infobob/src
-
Unlock the secrets file:
git-crypt unlock
-
Connect to the host, and forward the docker socket:
ssh -L ./docker.sock:/var/run/docker.sock $INFOBOB_HOST
-
Tell docker about the socket:
export DOCKER_HOST=unix://$(pwd)/docker.sock
-
Use docker-compose to do all the things:
docker-compose build
docker-compose up -d
-
Important re-lock the secrets file:
git-crypt lock