auth

Paddy 2015-06-29 Parent:73e12d5a1124

175:aa14e29b666f Go to Latest

auth/sql/postgres_empty.sql

Create Docker image for authd. Create a Dockerfile for authd, which will wrap the compiled Go binary up into a tiny little Docker image. Create an authd/build-docker.sh script that will build the statically-linked binary in a Docker container, so the authd Docker image can use it. We had to include ca-certificates.crt in the Dockerfile, as well, so we could communicate over SSL with things. A wrapper.sh file is included that will pull the JWT_SECRET environment variable out of a kubernetes secrets file, which is a handy wrapper to have. Finally, we added the authd/docker-authd binary to the .hgignore.

History
paddy@155 1 TRUNCATE profiles;
paddy@155 2 TRUNCATE logins;
paddy@155 3 TRUNCATE clients;
paddy@155 4 TRUNCATE endpoints;
paddy@155 5 TRUNCATE scopes;
paddy@155 6 TRUNCATE sessions;
paddy@155 7 TRUNCATE tokens;
paddy@156 8 TRUNCATE authorization_codes;