Skip to content

Commit 3d7241f

Browse files
committed
#67 some cleanup after merge
1 parent b1278af commit 3d7241f

File tree

10 files changed

+15
-74
lines changed

10 files changed

+15
-74
lines changed

services/home/docker-compose.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

2522
networks:
2623
default:

services/pygeoapi_cite/docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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+
2927
networks:
3028
default:
3129
name: pygeoapi-network

services/pygeoapi_covid-19/docker-compose.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

3128
networks:
3229
default:

services/pygeoapi_master/docker-compose.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

2926
networks:
3027
default:

services/pygeoapi_stable/docker-compose.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

3532
networks:
3633
default:

services/traefik/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

services/traefik/config/README.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

services/traefik/config/default.nusa.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

services/traefik/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

services/traefik/stop.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@
33
export HOSTNAME
44
export HTTP_PORT=80
55
[[ ${HOSTNAME} != PYGEOAPI ]] && HTTP_PORT=8000
6-
export ACME_FILE="config/acme.json"
76

87
docker compose down --remove-orphans
9-
chmod 600 ${ACME_FILE}

0 commit comments

Comments
 (0)