File tree Expand file tree Collapse file tree 10 files changed +15
-74
lines changed Expand file tree Collapse file tree 10 files changed +15
-74
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,6 @@ services:
1818 - " traefik.http.routers.home_local.rule=Host(`localhost`) && Path(`/`)"
1919 - " traefik.http.routers.home_local.entrypoints=http"
2020 - " traefik.http.routers.home_local.priority=5"
21- # Common service definition
22- - " traefik.http.services.home.loadbalancer.server.port=5000"
23- - " traefik.docker.network=pygeoapi-network"
2421
2522networks :
2623 default :
Original file line number Diff line number Diff line change @@ -23,9 +23,7 @@ services:
2323 - " traefik.http.routers.pygeoapi_cite_local.rule=Host(`localhost`) && PathPrefix(`/cite`)"
2424 - " traefik.http.routers.pygeoapi_cite_local.entrypoints=http"
2525 - " traefik.http.routers.pygeoapi_cite_local.priority=100"
26- # Common service definition
27- - " traefik.http.services.pygeoapi_cite.loadbalancer.server.port=80"
28- - " traefik.docker.network=pygeoapi-network"
26+
2927networks :
3028 default :
3129 name : pygeoapi-network
Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ services:
2424 - " traefik.http.routers.pygeoapi_covid19_local.rule=Host(`localhost`) && PathPrefix(`/covid-19`)"
2525 - " traefik.http.routers.pygeoapi_covid19_local.entrypoints=http"
2626 - " traefik.http.routers.pygeoapi_covid19_local.priority=100"
27- # Common service definition
28- - " traefik.http.services.pygeoapi_covid19.loadbalancer.server.port=80"
29- - " traefik.docker.network=pygeoapi-network"
3027
3128networks :
3229 default :
Original file line number Diff line number Diff line change @@ -22,9 +22,6 @@ services:
2222 - " traefik.http.routers.pygeoapi_master_local.rule=Host(`localhost`) && PathPrefix(`/master`)"
2323 - " traefik.http.routers.pygeoapi_master_local.entrypoints=http"
2424 - " traefik.http.routers.pygeoapi_master_local.priority=100"
25- # Common service definition
26- - " traefik.http.services.pygeoapi_master.loadbalancer.server.port=80"
27- - " traefik.docker.network=pygeoapi-network"
2825
2926networks :
3027 default :
Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ services:
2828 - " traefik.http.routers.pygeoapi_stable_local.rule=Host(`localhost`) && PathPrefix(`/stable`)"
2929 - " traefik.http.routers.pygeoapi_stable_local.entrypoints=http"
3030 - " traefik.http.routers.pygeoapi_stable_local.priority=100"
31- # Common service definition
32- - " traefik.http.services.pygeoapi_stable.loadbalancer.server.port=80"
33- - " traefik.docker.network=pygeoapi-network"
3431
3532networks :
3633 default :
Original file line number Diff line number Diff line change 1+ # Traefik
2+
3+ This directory contains Traefik, the HTTP(S) proxy that routes to
4+ the various services like pygeoapi.
5+
6+ Most of the Traefik configuration is contained in the
7+ [ docker-compose.yml] ( docker-compose.yml ) file.
8+
9+ ## Dynamic Configuration
10+
11+ The ` config/dynamic ` directory contains:
12+ - ` tls.yml ` - TLS security options with strong cipher suites (TLS 1.2+ minimum)
13+ - ` middlewares.yml ` - HTTP security headers and CORS configuration
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export HTTP_PORT=80
1010[[ ${HOSTNAME} != PYGEOAPI ]] && HTTP_PORT=8000
1111
1212# Set Let's Encrypt email - customize as needed
13- export LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL :- " just@justobjects.nl" }
13+ export LETSENCRYPT_EMAIL=" just@justobjects.nl"
1414
1515# Note: acme.json is now stored in Docker volume 'acme_certificates'
1616# No need to create/chmod acme.json file anymore
Original file line number Diff line number Diff line change 33export HOSTNAME
44export HTTP_PORT=80
55[[ ${HOSTNAME} != PYGEOAPI ]] && HTTP_PORT=8000
6- export ACME_FILE=" config/acme.json"
76
87docker compose down --remove-orphans
9- chmod 600 ${ACME_FILE}
You can’t perform that action at this time.
0 commit comments