Merge pull request #160 from crosbymichael/icons
Add custom logo, nginx basic auth docker-compose examplepull/2/head
|
@ -1,4 +1,2 @@
|
||||||
node_modules
|
*
|
||||||
bower_components
|
!dist
|
||||||
.git
|
|
||||||
Dockerfile
|
|
||||||
|
|
|
@ -48,5 +48,5 @@ angular.module('dockerui', ['dockerui.templates', 'ngRoute', 'dockerui.services'
|
||||||
// You need to set this to the api endpoint without the port i.e. http://192.168.1.9
|
// You need to set this to the api endpoint without the port i.e. http://192.168.1.9
|
||||||
.constant('DOCKER_ENDPOINT', 'dockerapi')
|
.constant('DOCKER_ENDPOINT', 'dockerapi')
|
||||||
.constant('DOCKER_PORT', '') // Docker port, leave as an empty string if no port is requred. If you have a port, prefix it with a ':' i.e. :4243
|
.constant('DOCKER_PORT', '') // Docker port, leave as an empty string if no port is requred. If you have a port, prefix it with a ':' i.e. :4243
|
||||||
.constant('UI_VERSION', 'v0.8.0')
|
.constant('UI_VERSION', 'v0.9.0-beta')
|
||||||
.constant('DOCKER_API_VERSION', 'v1.20');
|
.constant('DOCKER_API_VERSION', 'v1.20');
|
||||||
|
|
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 15 KiB |
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "dockerui",
|
"name": "dockerui",
|
||||||
"version": "0.8.0",
|
"version": "0.9.0-beta",
|
||||||
"homepage": "https://github.com/crosbymichael/dockerui",
|
"homepage": "https://github.com/crosbymichael/dockerui",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Michael Crosby <crosbymichael@gmail.com>",
|
"Michael Crosby <crosbymichael@gmail.com>",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
FROM nginx:1.9.9
|
||||||
|
|
||||||
|
COPY default.conf /etc/nginx/conf.d/default.conf
|
||||||
|
COPY users.htpasswd /etc/nginx/users.htpasswd
|
|
@ -0,0 +1,17 @@
|
||||||
|
upstream dockerui {
|
||||||
|
server dockerui:9000;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name localhost;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
auth_basic "Docker UI";
|
||||||
|
auth_basic_user_file /etc/nginx/users.htpasswd;
|
||||||
|
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection "";
|
||||||
|
proxy_pass http://dockerui;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
dockerui:
|
||||||
|
image: dockerui/dockerui
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
||||||
|
nginx:
|
||||||
|
build: .
|
||||||
|
links:
|
||||||
|
- dockerui
|
||||||
|
ports:
|
||||||
|
- 80:80
|
|
@ -0,0 +1 @@
|
||||||
|
user:{PLAIN}password
|
|
@ -22,10 +22,7 @@
|
||||||
|
|
||||||
<!-- Fav and touch icons -->
|
<!-- Fav and touch icons -->
|
||||||
<link rel="shortcut icon" href="ico/favicon.ico">
|
<link rel="shortcut icon" href="ico/favicon.ico">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="ico/apple-touch-icon-144-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-precomposed.png">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"author": "Michael Crosby & Kevan Ahlquist",
|
"author": "Michael Crosby & Kevan Ahlquist",
|
||||||
"name": "dockerui",
|
"name": "dockerui",
|
||||||
"homepage": "https://github.com/crosbymichael/dockerui",
|
"homepage": "https://github.com/crosbymichael/dockerui",
|
||||||
"version": "0.8.0",
|
"version": "0.9.0-beta",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git@github.com:crosbymichael/dockerui.git"
|
"url": "git@github.com:crosbymichael/dockerui.git"
|
||||||
|
|