diff --git a/.envvars-example b/.envvars-example new file mode 100644 index 0000000..c86acb2 --- /dev/null +++ b/.envvars-example @@ -0,0 +1,5 @@ +CLIENT_ID=credhub-admin +CLIENT_SECRET=credhub_admin_secret +UI_URL=https://localhost:8443 +CREDHUB_SERVER=https://192.168.50.6:8844 +COOKIE_NAME=credhubui diff --git a/.gitignore b/.gitignore index 378eac2..59ca2e7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ build +.envvars diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..42e8bc4 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +version: '2.3' +services: + credhub_ui: + build: + context: . + dockerfile: Dockerfile + ports: + - "8443:8443" + env_file: + - .envvars