1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

configuration is now exposed in /config endpoint (#13)

This commit is contained in:
Anthony Lapenna 2016-06-16 17:27:07 +12:00 committed by GitHub
parent f3a5251fd4
commit a7619b06ba
8 changed files with 208 additions and 12 deletions

View file

@ -10,6 +10,7 @@ angular.module('uifordocker', [
'dashboard',
'container',
'containers',
'docker',
'images',
'image',
'pullImage',
@ -56,6 +57,11 @@ angular.module('uifordocker', [
templateUrl: 'app/components/containerLogs/containerlogs.html',
controller: 'ContainerLogsController'
})
.state('docker', {
url: '/docker/',
templateUrl: 'app/components/docker/docker.html',
controller: 'DockerController'
})
.state('images', {
url: '/images/',
templateUrl: 'app/components/images/images.html',
@ -113,4 +119,5 @@ angular.module('uifordocker', [
// 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_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('CONFIG_ENDPOINT', '/config')
.constant('UI_VERSION', 'v1.0.2');