Skip to content

Commit f587648

Browse files
Revise TF config and README given upstream updates
- requirements-aws-secrets.txt now includes requirements-no-gui.txt - argument --aws-secrets is no longer needed
1 parent e0c85b1 commit f587648

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ terraform apply -var-file=YOUR_CONFIG.tfvars
5757
```
5858
tmux
5959
cd email-oauth2-proxy/
60-
python3 emailproxy.py --no-gui --local-server-auth --aws-secrets --config-file personal.config
60+
python3 emailproxy.py --no-gui --local-server-auth --config-file personal.config
6161
```
6262
9. In your email client, configure SMTP using the server settings:
6363
* Outgoing SMTP server: `DOMAIN_FULL_NAME`

terraform/server-cloud-config.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ runcmd:
3939
# Install email-oauth2-proxy
4040
- sudo -u ec2-user git clone --depth 1 --branch ${email_oauth2_proxy_version} ${email_oauth2_proxy_repo} /home/ec2-user/email-oauth2-proxy
4141
- sudo -u ec2-user rm -rf /home/ec2-user/email-oauth2-proxy/.git
42-
- sudo -u ec2-user python3 -m pip install -r /home/ec2-user/email-oauth2-proxy/requirements-no-gui.txt -r /home/ec2-user/email-oauth2-proxy/requirements-aws-secrets.txt
42+
- sudo -u ec2-user python3 -m pip install -r /home/ec2-user/email-oauth2-proxy/requirements-aws-secrets.txt
4343
# Configure email-oauth2-proxy
4444
- mv /tmp/personal.config /home/ec2-user/email-oauth2-proxy/personal.config
4545
- mv /tmp/fullchain.pem /home/ec2-user/email-oauth2-proxy/fullchain.pem
@@ -67,7 +67,3 @@ runcmd:
6767
region = ${aws_region}
6868
EOL
6969
- chown -R ec2-user:ec2-user /home/ec2-user/.aws/
70-
# Command to run:
71-
# ssh -L 8080:127.0.0.1:8080 ec2-user@<PUBLIC_IP>
72-
# tmux
73-
# PYSTRAY_BACKEND=dummy python3 /home/ec2-user/email-oauth2-proxy/emailproxy.py --no-gui --local-server-auth --config-file /home/ec2-user/email-oauth2-proxy/personal.config

0 commit comments

Comments
 (0)