Loading compose/docker-compose.yaml.configure +11 −4 Original line number Diff line number Diff line Loading @@ -89,6 +89,7 @@ services: image: org.etsi.osl.portal.api:latest environment: SPRING_APPLICATION_JSON: '{ "origins": "http://localhost", "spring.datasource.url": "jdbc:mysql://amysql/osdb?createDatabaseIfNotExist=true", "spring.datasource.username":"root", "spring.datasource.password":"letmein", Loading @@ -106,7 +107,8 @@ services: "spring.activemq.password": "artemis", "logging.level.org.springframework" : "INFO", "spring.portal.main.domain": "http://localhost", "spring.portal.portal.title": "Openslice" "spring.portal.portal.title": "Openslice", "server.forward-headers-strategy":"FRAMEWORK" }' logging: driver: "json-file" Loading Loading @@ -186,6 +188,7 @@ services: image: org.etsi.osl.tmf.api:latest environment: SPRING_APPLICATION_JSON: '{ "origins": "http://localhost", "spring.datasource.url": "jdbc:mysql://amysql/ostmfdb?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=utf8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC", "spring.datasource.username":"root", "spring.datasource.password":"letmein", Loading @@ -202,7 +205,8 @@ services: "spring.activemq.user": "artemis", "spring.activemq.password": "artemis", "logging.level.org.springframework" : "INFO", "kroki.serverurl" : "http://localhost/kroki" "kroki.serverurl" : "http://localhost/kroki", "server.forward-headers-strategy":"FRAMEWORK" }' volumes: - ./repo:/root Loading Loading @@ -251,6 +255,7 @@ services: image: org.etsi.osl.oas:latest environment: SPRING_APPLICATION_JSON: '{ "origins": "http://localhost", "spring.datasource.url": "jdbc:mysql://amysql/ostmfdb?createDatabaseIfNotExist=true&useUnicode=true&nullCatalogMeansCurrent=true&characterEncoding=utf8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC", "spring.datasource.username":"root", "spring.datasource.password":"letmein", Loading @@ -266,7 +271,8 @@ services: "spring.activemq.brokerUrl": "tcp://anartemis:61616?jms.watchTopicAdvisories=false", "spring.activemq.user": "artemis", "spring.activemq.password": "artemis", "logging.level.org.springframework" : "INFO" "logging.level.org.springframework" : "INFO", "server.forward-headers-strategy":"FRAMEWORK" }' volumes: - ./repo:/root Loading Loading @@ -328,7 +334,8 @@ services: "spring.activemq.brokerUrl": "tcp://anartemis:61616?jms.watchTopicAdvisories=false", "spring.activemq.user": "artemis", "spring.activemq.password": "artemis", "centrallogurl":"http://elk_ip:elk_port/index_name/_doc" "centrallogurl":"http://elk_ip:elk_port/index_name/_doc", "logging.level.org.springframework" : "INFO" }' ports: - 13013:13013 Loading compose/nginx/nginx.conf.default +36 −53 Original line number Diff line number Diff line Loading @@ -41,14 +41,6 @@ http { try_files $uri $uri/ /index.html; } # location / { # root /webstatic/nfvportal/openslicehome; # index index.html; # } location /nfvportal { root /webstatic; index index.html; Loading @@ -56,13 +48,12 @@ http { try_files $uri $uri/ /nfvportal/index.html; } location /osapi { proxy_pass http://osportalapi:13000/osapi; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; } location /tmf-api { Loading @@ -70,6 +61,7 @@ http { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; } location /oas-api { Loading @@ -77,8 +69,10 @@ http { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; } # For http location /auth { proxy_pass http://keycloak:8080/auth; proxy_set_header X-Real-IP $remote_addr; Loading @@ -94,7 +88,7 @@ http { proxy_set_header Host $http_host; } # For https # location /auth { # proxy_pass https://keycloak:8443/auth; # proxy_set_header X-Real-IP $remote_addr; Loading @@ -105,18 +99,7 @@ http { # proxy_set_header X-Forwarded-Port 443; # } } } Loading
compose/docker-compose.yaml.configure +11 −4 Original line number Diff line number Diff line Loading @@ -89,6 +89,7 @@ services: image: org.etsi.osl.portal.api:latest environment: SPRING_APPLICATION_JSON: '{ "origins": "http://localhost", "spring.datasource.url": "jdbc:mysql://amysql/osdb?createDatabaseIfNotExist=true", "spring.datasource.username":"root", "spring.datasource.password":"letmein", Loading @@ -106,7 +107,8 @@ services: "spring.activemq.password": "artemis", "logging.level.org.springframework" : "INFO", "spring.portal.main.domain": "http://localhost", "spring.portal.portal.title": "Openslice" "spring.portal.portal.title": "Openslice", "server.forward-headers-strategy":"FRAMEWORK" }' logging: driver: "json-file" Loading Loading @@ -186,6 +188,7 @@ services: image: org.etsi.osl.tmf.api:latest environment: SPRING_APPLICATION_JSON: '{ "origins": "http://localhost", "spring.datasource.url": "jdbc:mysql://amysql/ostmfdb?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=utf8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC", "spring.datasource.username":"root", "spring.datasource.password":"letmein", Loading @@ -202,7 +205,8 @@ services: "spring.activemq.user": "artemis", "spring.activemq.password": "artemis", "logging.level.org.springframework" : "INFO", "kroki.serverurl" : "http://localhost/kroki" "kroki.serverurl" : "http://localhost/kroki", "server.forward-headers-strategy":"FRAMEWORK" }' volumes: - ./repo:/root Loading Loading @@ -251,6 +255,7 @@ services: image: org.etsi.osl.oas:latest environment: SPRING_APPLICATION_JSON: '{ "origins": "http://localhost", "spring.datasource.url": "jdbc:mysql://amysql/ostmfdb?createDatabaseIfNotExist=true&useUnicode=true&nullCatalogMeansCurrent=true&characterEncoding=utf8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC", "spring.datasource.username":"root", "spring.datasource.password":"letmein", Loading @@ -266,7 +271,8 @@ services: "spring.activemq.brokerUrl": "tcp://anartemis:61616?jms.watchTopicAdvisories=false", "spring.activemq.user": "artemis", "spring.activemq.password": "artemis", "logging.level.org.springframework" : "INFO" "logging.level.org.springframework" : "INFO", "server.forward-headers-strategy":"FRAMEWORK" }' volumes: - ./repo:/root Loading Loading @@ -328,7 +334,8 @@ services: "spring.activemq.brokerUrl": "tcp://anartemis:61616?jms.watchTopicAdvisories=false", "spring.activemq.user": "artemis", "spring.activemq.password": "artemis", "centrallogurl":"http://elk_ip:elk_port/index_name/_doc" "centrallogurl":"http://elk_ip:elk_port/index_name/_doc", "logging.level.org.springframework" : "INFO" }' ports: - 13013:13013 Loading
compose/nginx/nginx.conf.default +36 −53 Original line number Diff line number Diff line Loading @@ -41,14 +41,6 @@ http { try_files $uri $uri/ /index.html; } # location / { # root /webstatic/nfvportal/openslicehome; # index index.html; # } location /nfvportal { root /webstatic; index index.html; Loading @@ -56,13 +48,12 @@ http { try_files $uri $uri/ /nfvportal/index.html; } location /osapi { proxy_pass http://osportalapi:13000/osapi; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; } location /tmf-api { Loading @@ -70,6 +61,7 @@ http { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; } location /oas-api { Loading @@ -77,8 +69,10 @@ http { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; } # For http location /auth { proxy_pass http://keycloak:8080/auth; proxy_set_header X-Real-IP $remote_addr; Loading @@ -94,7 +88,7 @@ http { proxy_set_header Host $http_host; } # For https # location /auth { # proxy_pass https://keycloak:8443/auth; # proxy_set_header X-Real-IP $remote_addr; Loading @@ -105,18 +99,7 @@ http { # proxy_set_header X-Forwarded-Port 443; # } } }