PR changes for 2.0

This commit is contained in:
alicethorne-ab
2021-04-07 15:40:14 -04:00
parent 7e17cc2425
commit 2458d91bf5
2 changed files with 6 additions and 2 deletions

View File

@@ -130,12 +130,12 @@ variable "instance_type" {
default = "t3.micro"
}
data "aws_ami" "ubuntu20" {
data "aws_ami" "ubuntu18" {
most_recent = true
filter {
name = "name"
values = ["ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*"]
values = ["ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*"]
}
filter {

View File

@@ -80,6 +80,8 @@ sed -i '' -e "s/OP_SESSION=$/OP_SESSION=$SESSION/" ./scim.env
Youll also need to set the environment variable `OP_LETSENCRYPT_DOMAIN` within `scim.env` to the URL you selected during [PREPARATION.md](/PREPARATION.md). Open that in your preferred text editor and change `OP_LETSENCRYPT_DOMAIN` to that domain name.
Ensure that `OP_LETSENCRYPT_DOMAIN` is set to the domain name youve set up before continuing.
And finally, use `docker-compose` to deploy:
```bash
@@ -153,6 +155,8 @@ The following options are available for advanced or custom deployments. Unless y
* `OP_PORT` - when `OP_LETSENCRYPT_DOMAIN` is set to blank, you can use `OP_PORT` to change the default port from 3002 to one of your choosing.
* `OP_REDIS_URL` - you can specify `redis://` or `rediss://` (for TLS) URL here to point towards an alternative Redis host. You can then strip out the sections in `docker-compose.yml` that refer to Redis to not deploy that container. Note that Redis is still required for the SCIM bridge to function.
* `OP_PRETTY_LOGS` - can be set to `1` if you would like the SCIM bridge to output logs in a human-readable format. This can be helpful if you arent planning on doing custom log ingestion in your environment.
* `OP_DEBUG` - can be set to `1` to enable debug output in the logs. Useful for troubleshooting or when contacting 1Password Support.
#### Generating `scim.env` file on Windows