So following the instructions from the guide (discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub) seems to work just fine - no errors I can see and it all comes to the end with:
- /usr/bin/docker run -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=2 -e UNICORN_SIDEKIQS=1 -e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 -e RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 -e RUBY_GC_HEAP_INIT_SLOTS=400000 -e RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e LETSENCRYPT_DIR=/shared/letsencrypt -e DISCOURSE_HOSTNAME=discourse.[testdomain] -e DISCOURSE_DEVELOPER_EMAILS=discourse@[testdomain] -e DISCOURSE_SMTP_ADDRESS=smtp.sendgrid.net -e DISCOURSE_SMTP_PORT=587 -e DISCOURSE_SMTP_USER_NAME=apikey -e DISCOURSE_SMTP_PASSWORD=[api] -e LETSENCRYPT_ACCOUNT_EMAIL=me@[testdomain] -h ubuntu-discourse-app -e DOCKER_HOST_IP=172.17.0.1 --name app -t -p 80:80 -p 443:443 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log --mac-address 02:21:5e:00:74:46 local_discourse/app /sbin/boot
when I go to the IP address to access it I get the NGINX screen and then after a few moments I hit refresh and I get the “ERR_CONNECTION_REFUSED” screen in Chrome.