-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #322 from KPMP/develop
DLU/DMD Release May 2024
- Loading branch information
Showing
8 changed files
with
145 additions
and
36 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
atlas/apache-atlas/container_files/etc/httpd/conf.d/virt-ssl.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
ServerName ENV_APACHE_SERVER_NAME | ||
Listen 443 | ||
|
||
<VirtualHost *:80> | ||
|
||
ServerName ENV_APACHE_SERVER_NAME | ||
RewriteEngine on | ||
RewriteCond %{HTTPS} off | ||
RewriteRule ^/(.*)$ https://ENV_APACHE_SERVER_NAME/$1 [L,R] | ||
|
||
</VirtualHost> | ||
|
||
<VirtualHost *:443> | ||
|
||
ServerName ENV_APACHE_SERVER_NAME | ||
|
||
SSLEngine on | ||
SSLProtocol +TLSv1.2 | ||
SSLHonorCipherOrder on | ||
SSLCipherSuite HIGH:!aNULL:!MD5 | ||
SSLCertificateFile /certs/kpmp.crt | ||
SSLCertificateKeyFile /certs/kpmp.key | ||
SSLCACertificateFile /certs/InCommon-intermediate.crt | ||
|
||
<Directory "/var/www/html"> | ||
RewriteEngine on | ||
|
||
# Handle existing files or directories as is | ||
RewriteCond %{REQUEST_FILENAME} -f [OR] | ||
RewriteCond %{REQUEST_FILENAME} -d | ||
RewriteRule ^ - [L] | ||
|
||
|
||
# Send all non-existant file/directory requests to /repository to /repository/index.html | ||
RewriteCond %{REQUEST_URI} /repository* | ||
RewriteRule ^ /repository/index.html [L] | ||
|
||
# Send all non-existant file/directory requests to /repository2 to /repository2/index.html | ||
RewriteCond %{REQUEST_URI} /repository2* | ||
RewriteRule ^ /repository2/index.html | ||
|
||
# Send all non-existant file/directory requests to /spatial-viewer to /spatial-viewer/index.html | ||
RewriteCond %{REQUEST_URI} /spatial-viewer* | ||
RewriteRule ^ /spatial-viewer/index.html [L] | ||
|
||
# Send all non-existant file/directory request to / to /index.html | ||
RewriteCond %{REQUEST_URI} /* | ||
RewriteRule ^ /index.html | ||
|
||
</Directory> | ||
|
||
RewriteEngine on | ||
RewriteRule "^/endpoint/(.*?)$" "http://ENV_ARRANGER_SERVER_ADDRESS:5050/endpoint/$1" [P] | ||
RewriteRule "^/explorer/v1/error" "http://ENV_EXPLORER_DATA_SERVER_ADDRESS:3030/v1/error" [P] | ||
RewriteRule "^/api/v1/clearCache" "http://ENV_EXPLORER_DATA_SERVER_ADDRESS:3030/v1/clearCache" [P] | ||
RewriteRule "^/api/(.*)$" "http://ENV_FILE_SERVER_ADDRESS:5000/$1" [P] | ||
RewriteRule "^/graphql" "http://ENV_EXPLORER_DATA_SERVER_ADDRESS:3030/graphql" [P] | ||
RewriteRule "^/spatial-viewer/graphql" "http://ENV_EXPLORER_DATA_SERVER_ADDRESS:3040/graphql" [P] | ||
RewriteRule "^/spatial-viewer/search/(.*)$" "http://ENV_EXPLORER_DATA_SERVER_ADDRESS:3002/$1" [P] | ||
|
||
</VirtualHost> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,7 @@ services: | |
max-size: "10m" | ||
max-file: "5" | ||
|
||
|
||
volumes: | ||
esdata: | ||
mariadbdata: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
version: "3" | ||
services: | ||
|
||
mariadb: | ||
container_name: eridanus-mariadb | ||
image: mariadb:10.8.2 | ||
restart: always | ||
environment: | ||
MYSQL_ROOT_PASSWORD: ${ENV_MYSQL_PASSWORD} | ||
volumes: | ||
- mariadbdata:/var/lib/mysql | ||
ports: | ||
- 3307:3306 | ||
networks: | ||
local: | ||
aliases: | ||
- mariadb | ||
logging: | ||
driver: "json-file" | ||
options: | ||
max-size: "10m" | ||
max-file: "5" | ||
|
||
adminer: | ||
container_name: eridanus-adminer | ||
image: adminer | ||
restart: always | ||
environment: | ||
TZ: "America/Detroit" | ||
ports: | ||
- 9090:8080 | ||
networks: | ||
local: | ||
aliases: | ||
- adminer | ||
logging: | ||
driver: "json-file" | ||
options: | ||
max-size: "10m" | ||
max-file: "5" | ||
|
||
volumes: | ||
mariadbdata: | ||
|
||
networks: | ||
local: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters