*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
...
| Environment | Backend | Domain | Note | Sample URL |
|---|---|---|---|---|
| Production | On-line | on-prod.diaper.cf | This points to AWS under Cornell contract i.e. 35.168.248.57 | https://on-prod.diaper.cf:5001/api/version |
| Test | On-line | on-test.diaper.cf | (Not set up yet) This points to public AWS (under Tan's account) i.e. 3.232.82.82 | https://on-test.diaper.cf:5001/api/version |
| Production | Off-line | off-prod.diaper.cf | (Not set up yet) This points to AWS under Cornell contract | |
| Test | Off-line | off-test.diaper.cf | (Not set up yet) This points to public AWS (under Tan's account) |
For API callers (i.e. frontend web/app)
Choose the domain accordingly, prepend it with http or https, and append it with port number and path.e.g. https://on-prod.diaper.cf:5001/api/version
SSL Certificate for https
...
This will allow flask and docker to access the cert files.
Specify which yml file to use when launching docker on production
...
and test
...
environment
A separate Separate docker-compose config file files named docker-compose-prod.yml is and docker-compose-test.yml are created.
Since only production ( and test ) environment will use this cert. When launching docker, must specify this yml file.
Command Line
| Code Block |
|---|
// For production at 35.168.248.57 docker-compose -f docker-compose-prod.yml up -d // For test at 3.232.82.82 docker-compose -f docker-compose-test.yml up -d |