poc-integration
Marco Streich 2 months ago
parent 670c20426b
commit bfdf029a01

@ -276,7 +276,7 @@ In case you have an existing configuration for Certbot, you can copy it to `/mnt
$ export AWS_ACCESS_KEY_ID="..."
$ export AWS_SECRET_ACCESS_KEY="..."
$ export LETSENCRYPT_DIR=/mnt/data/letsencrypt
$ export domains="..." # list of domain_name_production and domain_alternative_names_production in config.json, each each one prefixed with the `-d` flag
$ export domains="..." # list of domain_name_production and domain_alternative_names_production in config.json, each one prefixed with the `-d` flag
$ certbot certonly --dry-run --non-interactive --agree-tos -m webmaster@"$DOMAIN_NAME" --work-dir "$LETSENCRYPT_DIR"/lib --logs-dir "$LETSENCRYPT_DIR"/log --config-dir "$LETSENCRYPT_DIR"/etc --dns-route53 --preferred-challenges dns $domains
```
At this point you should test whether the configuration is working, to prevent Certbot to create or renew the certificate, you can supply the `--dry-run` flag.

@ -62,7 +62,7 @@ If the same app is specified multiple times, the last entry in the list takes pr
```json
{
"foo": "latest",
"bar": "latest",
"bar": "latest"
}
```
The deployment state file is intended to be read by Nix, which will produce a systemd unit file that configures the Podman container.
@ -146,7 +146,7 @@ curl -u'testuser:testpass' -i -XPOST localhost:8080/deploy -d '[{"app":"alpine",
"version": "latest"
},
{
"app": "alpine",
"app": "busybox",
"version": "latest"
}
],

Loading…
Cancel
Save