working settings for 100% Docker on AWS EC2, Nginx, AWS S3, AWS SES - SMTP, Azure AD auth #2383
Unanswered
scott-dunt
asked this question in
Show and tell
Replies: 1 comment 2 replies
-
Thanks for this. I was looking for a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
a bit of hacking but got a working environment in AWS running from 100% docker-compose.yml environment.
1st docker-compose.yml
env file for Outline, named outline.env in my implementation:
The .env files for Docker are NOT Yaml.. do NOT quote any of the strings in this file, even if they contain special characters. Docker will read in and INCLUDE the "" in the variable. If you are unsure about whether a variable is getting set correctly. Once the outline container is up, you can use docker to start a shell INSIDE the running container and do an env command to see the variables.
docker ps
, find and copy the container ID # for the outline container.docker exec -it <container #> sh
; this will launch a shell inside the containerenv
command to display all the variables set INSIDE the container. you can also do aenv | sort
to sort them alphabeticallyFinally Nginx conf file for this 'virtual site"
Foot notes:
IAM security policy I use for the user ID for S3 access
S3 Buckets in AWS for use with outline need to have a 'CORS' policy, which is NOT the 'bucket security policy', added to them:
Beta Was this translation helpful? Give feedback.
All reactions