Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Separate docker-compose config files named docker-compose-prod.yml 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

// For local development on your laptop
// These two commands are equivalents (i.e. default is docker-compose.yml)
docker-compose -f docker-compose.yml up -d
docker-compose up -d