aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2019-04-29 03:02:13 -0400
committerxudan <xudan16@huawei.com>2019-04-29 03:52:34 -0400
commit7f7db8302e20664b7552bfcc6d8147b6b9a9ec3a (patch)
tree060fe5cec439fe84190e4d25035c13361ecbd564 /docker
parent8d118a999ffec1d246863b82d6a9513db9f49cb1 (diff)
Add License for Dovetail webportal
Add license for all files in this repo except following: 1. all .png, .gif and .json files 2. all empty __init__.py files 3. MANIFEST.in 4. .htmllintrc 5. node-requirements.txt 6. update/README.md 7. opnfv_testapi/ui/auth/rsa.pem 8. opnfv_testapi/tornado_swagger/README.md 9. 3rd_party/static/testapi_ui/favicon.ico 10. 3rd_party/static/onap_ui/favicon.ico Change-Id: I6329d09b67cdafaa545cea7894e5edf3466d0009 Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/README.rst4
-rw-r--r--docker/config.env.sample9
-rw-r--r--docker/db/pods.json2
-rw-r--r--docker/db/projects.json2
-rw-r--r--docker/docker-compose.yml9
-rw-r--r--docker/nginx-proxy/custom_proxy_settings.conf9
-rw-r--r--docker/nginx/nginx.conf9
-rw-r--r--docker/nginx/sites-available/default-onap9
-rw-r--r--docker/nginx/sites-available/default-opnfv9
-rwxr-xr-xdocker/prepare-env.sh9
-rwxr-xr-xdocker/start-nginx.sh9
-rwxr-xr-xdocker/start-server.sh8
-rw-r--r--docker/supervisor/conf.d/nginx.conf9
-rw-r--r--docker/vhost.env.sample9
14 files changed, 104 insertions, 2 deletions
diff --git a/docker/README.rst b/docker/README.rst
index a58df33..3a32eb2 100644
--- a/docker/README.rst
+++ b/docker/README.rst
@@ -1,3 +1,7 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+.. (c) OPNFV
+
Docker Deployment
=================
diff --git a/docker/config.env.sample b/docker/config.env.sample
index f824c22..0feb308 100644
--- a/docker/config.env.sample
+++ b/docker/config.env.sample
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
mongodb_url=mongodb://mongodb:27017/
base_url=http://ovp.localhost
testapi_url=lfnapi:8010
diff --git a/docker/db/pods.json b/docker/db/pods.json
index 3cd1dad..d317888 100644
--- a/docker/db/pods.json
+++ b/docker/db/pods.json
@@ -379,4 +379,4 @@
"_id": "592d7d7878a2ad000ae6ac49",
"details": ""
}
-] \ No newline at end of file
+]
diff --git a/docker/db/projects.json b/docker/db/projects.json
index d034b80..d5101cb 100644
--- a/docker/db/projects.json
+++ b/docker/db/projects.json
@@ -215,4 +215,4 @@
"name": "vina",
"creation_date": "2017-05-29 08:58:21.248835"
}
-] \ No newline at end of file
+]
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 15e28f7..8456bbf 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
---
version: '3'
services:
diff --git a/docker/nginx-proxy/custom_proxy_settings.conf b/docker/nginx-proxy/custom_proxy_settings.conf
index ae0cc76..8d51017 100644
--- a/docker/nginx-proxy/custom_proxy_settings.conf
+++ b/docker/nginx-proxy/custom_proxy_settings.conf
@@ -1 +1,10 @@
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
client_max_body_size 20m;
diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf
index f7d5055..97d9b1c 100644
--- a/docker/nginx/nginx.conf
+++ b/docker/nginx/nginx.conf
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
user www-data;
worker_processes 4;
pid /run/nginx.pid;
diff --git a/docker/nginx/sites-available/default-onap b/docker/nginx/sites-available/default-onap
index e6aecb1..2fa3f2d 100644
--- a/docker/nginx/sites-available/default-onap
+++ b/docker/nginx/sites-available/default-onap
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
upstream lfnapi {
server lfnapi:8010;
}
diff --git a/docker/nginx/sites-available/default-opnfv b/docker/nginx/sites-available/default-opnfv
index f271fb4..a1a3d7c 100644
--- a/docker/nginx/sites-available/default-opnfv
+++ b/docker/nginx/sites-available/default-opnfv
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
upstream lfnapi {
server lfnapi:8010;
}
diff --git a/docker/prepare-env.sh b/docker/prepare-env.sh
index 762e741..52dbd1b 100755
--- a/docker/prepare-env.sh
+++ b/docker/prepare-env.sh
@@ -1,4 +1,13 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
FILE=/etc/opnfv_testapi/config.ini
diff --git a/docker/start-nginx.sh b/docker/start-nginx.sh
index 5f33847..8e43016 100755
--- a/docker/start-nginx.sh
+++ b/docker/start-nginx.sh
@@ -1,4 +1,13 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
NGINX_CONF=/etc/nginx/sites-enabled/default
if [ "$testapi_url" != "" ]; then
diff --git a/docker/start-server.sh b/docker/start-server.sh
index 8bf6084..d088c24 100755
--- a/docker/start-server.sh
+++ b/docker/start-server.sh
@@ -1,4 +1,12 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
bash docker/prepare-env.sh
opnfv-testapi
diff --git a/docker/supervisor/conf.d/nginx.conf b/docker/supervisor/conf.d/nginx.conf
index 72231ab..77f4c01 100644
--- a/docker/supervisor/conf.d/nginx.conf
+++ b/docker/supervisor/conf.d/nginx.conf
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
[program:nginx]
command = /usr/sbin/nginx
process_name=%(program_name)s
diff --git a/docker/vhost.env.sample b/docker/vhost.env.sample
index 1c4c87f..1de171c 100644
--- a/docker/vhost.env.sample
+++ b/docker/vhost.env.sample
@@ -1 +1,10 @@
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
VIRTUAL_HOST=ovp.localhost