Skip to content

Commit

Permalink
Adding metadata push API
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalLike committed Aug 21, 2023
1 parent 96158d3 commit 5aaeb59
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 0 deletions.
17 changes: 17 additions & 0 deletions apache-httpd/httpd-ssl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,20 @@ SSLRandomSeed connect builtin
Satisfy Any
</Limit>
</Location>


<Location "/sisyphus/">
Order deny,allow
Allow from all
Authtype Basic
Authname "Password Required"
AuthUserFile /usr/local/apache2/.htpasswd
Require valid-user
<Limit GET>
Satisfy Any
</Limit>
</Location>


<Location "/dashboard/">
Order deny,allow
Expand Down Expand Up @@ -610,6 +624,9 @@ SSLRandomSeed connect builtin

ProxyPass /FROST-Server http://frost:8080/FROST-Server Keepalive=On
ProxyPassReverse /FROST-Server http://frost:8080/FROST-Server

ProxyPass /sisyphus http://sisyphus:80/sisyphus Keepalive=On
ProxyPassReverse /sisyphus http://sisyphus:80/sisyphus

ProxyPass / http://pygeoapi_es:80/ Keepalive=On
ProxyPassReverse / http://pygeoapi_es:80/
Expand Down
15 changes: 15 additions & 0 deletions apache-httpd/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,18 @@ SSLRandomSeed connect builtin
</Limit>
</Location>

<Location "/sisyphus/">
Order deny,allow
Allow from all
Authtype Basic
Authname "Password Required"
AuthUserFile /usr/local/apache2/.htpasswd
Require valid-user
<Limit GET>
Satisfy Any
</Limit>
</Location>

<Location "/dashboard/">
Order deny,allow
Allow from all
Expand Down Expand Up @@ -591,5 +603,8 @@ ProxyPassReverse /dashboard http://kibana:5601
ProxyPass /FROST-Server http://frost:8080/FROST-Server Keepalive=On
ProxyPassReverse /FROST-Server http://frost:8080/FROST-Server

ProxyPass /sisyphus http://sisyphus:80/sisyphus Keepalive=On
ProxyPassReverse /sisyphus http://sisyphus:80/sisyphus

ProxyPass / http://pygeoapi_es:80/ Keepalive=On
ProxyPassReverse / http://pygeoapi_es:80/
20 changes: 20 additions & 0 deletions docker-compose-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,26 @@ services:
- ./frost/sensorthings.sh:/docker-entrypoint-initdb.d/sensorthings.sh
container_name: postgis_frost

sisyphus:
image: ghcr.io/emotional-cities/sisyphusapi:main

container_name: sisyphus

environment:
ENV_STATE: "dev"
DEV_ELASTIC_HOST: "elastic"
DEV_ELASTIC_PORT: "9200"
DEV_ELASTIC_INDEX: "ec_catalog"
DEV_LOG_PATH: "./logs"
DEV_LOG_FILENAME: "sisyphus.log"
DEV_LOG_LEVEL: "DEBUG"
DEV_LOG_ROTATION: "500 MB"
DEV_LOG_RETENTION: "10 days"
DEV_LOG_FORMAT: "{time} {level} {message}"

expose:
- 80

volumes:
elastic_search_data: {}
postgis_data:
Expand Down
20 changes: 20 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,26 @@ services:
- ./frost/sensorthings.sh:/docker-entrypoint-initdb.d/sensorthings.sh
container_name: postgis_frost

sisyphus:
image: ghcr.io/emotional-cities/sisyphusapi:main

container_name: sisyphus

environment:
ENV_STATE: "dev"
DEV_ELASTIC_HOST: "elastic"
DEV_ELASTIC_PORT: "9200"
DEV_ELASTIC_INDEX: "ec_catalog"
DEV_LOG_PATH: "./logs"
DEV_LOG_FILENAME: "sisyphus.log"
DEV_LOG_LEVEL: "DEBUG"
DEV_LOG_ROTATION: "500 MB"
DEV_LOG_RETENTION: "10 days"
DEV_LOG_FORMAT: "{time} {level} {message}"

expose:
- 80

volumes:
elastic_search_data: {}
postgis_data:
Expand Down

0 comments on commit 5aaeb59

Please sign in to comment.