You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* switch to caddy webserver
* switching to classic caddy service
* adapt .gitignore
* add return line end of file Caddyfile
* fix wording in README.md
* remove traefik.yml ressources
* switch to gateway + add caddy binary to gitignore
* remove redirection because now handled in gateway + redirect just import
* add more comments
* remove -> ignore
* can keep cas path uncommented since it doesn't hurt anything
* migrate from traefik.me to nip.io
* add note about snap and security caddy trust
* add warning icon for fnecas
Files uploaded into this volume will also be available to the geoserver instance in `/mnt/geoserver_geodata/`.
66
69
67
70
Emails sent by the SDI (eg when users request a new password) will not be relayed on the internet but trapped by a local SMTP service.
68
-
These emails can be read on https://georchestra-127-0-1-1.traefik.me/webmail/ (with login `smtp` and password `smtp`).
71
+
These emails can be read on https://georchestra-127-0-0-1.nip.io/webmail/ (with login `smtp` and password `smtp`).
72
+
73
+
74
+
## Locally trust the TLS certificate for geOrchestra
75
+
76
+
Note: If you don't use the docker composition for geOrchestra for a few days, we recommend to "untrust" the certificate due to security because the certificate installed will work on all the domains.
2. Open the Downloads folder using your file explorer and rename the file downloaded to `caddy`.
90
+
3. Open the command prompt (cmd) and navigate to your Downloads folder.
91
+
`cd "C:\Users\%USERNAME%\Downloads"`
92
+
3. Trust the certificate using this command: `caddy trust`.
93
+
4. Open [https://georchestra-127-0-0-1.nip.io/](https://georchestra-127-0-0-1.nip.io/) in your browser.
94
+
If that doesn't work, try to restart your browser.
70
95
71
96
## About the domain name
72
97
73
-
The current FQDN `georchestra-127-0-1-1.traefik.me` resolves to 127.0.1.1, thanks to [traefik.me](https://traefik.me/) which provides wildcard DNS for any IP address.
98
+
The current FQDN `georchestra-127-0-0-1.nip.io` resolves to 127.0.1.1, thanks to [traefik.me](https://traefik.me/) which provides wildcard DNS for any IP address.
74
99
75
100
To change it:
76
-
* Rename the traefik service in the `docker-compose.override.yml` file to match the new domain
77
-
* Modify the three `traefik.http.routers.*.rule` in the `docker-compose.override.yml` file
78
-
* Update the FQDN variable in [.envs-common](.envs-common) file (hint: grep for `georchestra-127-0-1-1.traefik.me`)
79
-
* Put a valid SSL certificate in the `resources/ssl` folder and declare it in the `resources/traefik-config.yml` file
101
+
102
+
1. Update the FQDN variable in [.envs-common](.envs-common) file (hint: grep for `georchestra-127-0-0-1.nip.io`)
103
+
2. Two options for the TLS/SSL certificate:
104
+
* If your web server is exposed to the internet (most likely it is), remove `tls internal` line in the file `resources/caddy/etc/Caddyfile`.
105
+
* If it is not, put a valid TLS certificate and a private key in the `resources/ssl` folder and declare it in the file `resources/caddy/etc/Caddyfile`.
106
+
3. Reload the docker composition: `docker compose up -d`.
107
+
May need to restart Caddy later if you are just modifying the Caddyfile or some file resources: `docker compose restart caddy`.
80
108
81
109
## Notes
82
110
111
+
Find the Caddy web server documentation here: https://caddyserver.com/docs/caddyfile/directives.
112
+
83
113
These docker-compose files describe:
84
114
* which images / webapps will run,
85
115
* how they are linked together,
@@ -211,7 +241,7 @@ In /docker :
211
241
212
242
`docker compose up -d`
213
243
214
-
You can now test modifications locally with the current FQDN (by default `georchestra-127-0-1-1.traefik.me`).
244
+
You can now test modifications locally with the current FQDN (by default `georchestra-127-0-0-1.nip.io`).
0 commit comments