Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10ca893bca |
@@ -44,7 +44,7 @@ docker-compose.yml wedding app, published to 127.0.0.1:8080 only
|
||||
## Config
|
||||
Copy `config.example.yaml` to `config.yaml` and fill in the wedding date, SMTP settings, storage path, and (if enabled) the Origin service key. Path is resolved from `CONFIG_PATH` (default `./config.yaml`) — that's the only env var; everything else lives in the file.
|
||||
|
||||
When `origin.service_key` is configured, the server registers itself with Origin as the `CronoCraft App` named `ZoeShaldon` immediately at startup and repeats the check-in every 24 hours. Registration failures are logged without taking down the wedding site. Leave the key empty to disable registration.
|
||||
When `origin.service_key` is configured, the server registers itself with Origin as the `generic` service type named `ZoeShaldon` immediately at startup and repeats the check-in every 24 hours. Registration failures are logged without taking down the wedding site. Leave the key empty to disable registration.
|
||||
|
||||
## Run with Docker
|
||||
Runs behind an existing Apache reverse proxy on the host (Apache owns TLS for `zoeshaldon.warky.info`) — see `PLAN.md` for the Apache vhost config. Not yet verified end-to-end.
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ func main() {
|
||||
origin, err := originclient.New(originclient.Config{
|
||||
URL: cfg.Origin.URL,
|
||||
ServiceKey: cfg.Origin.ServiceKey,
|
||||
Type: "CronoCraft App",
|
||||
Type: "generic",
|
||||
Version: cfg.Origin.Version,
|
||||
Name: "ZoeShaldon",
|
||||
AppType: "go",
|
||||
|
||||
Reference in New Issue
Block a user