Golang Stack
Last updated
Last updated
The example below demonstrates a composition of Go, PostgreSQL with the pre-defined Sidecar.
Inside the docker-compose.yml
file, add the necessary information which is tagged with curly braces ' { }
'.
IP
-> The IP of the web service which you are running, such as on AWS EC2 Ubuntu, Lightsail instance or Azure Web services as an example.
PORT
-> The port which the app client-side is served at (e.g. Port 80).
APPCODE
-> Navigate to Developer dashboard > Applications > {App Name} > App Data, the Application code will be available there.
HOSTNAME
-> Can be found on the Developer dashboard, the boilerplate is the hostname of the application: https://<your_domain>/{APPCODE}
If the application container is pushed onto IndustryApps, the HOSTNAME is the Application ID.
Additional information about Production deployment can be found here.