comparison prod/training.sh @ 235:b390c30aa6c6

DEP-14: update prod tags
author smith@nwoca.org
date Wed, 10 Jan 2018 01:22:38 +0000
parents 2ae65177f74e
children 61b1d93977cd
comparison
equal deleted inserted replaced
234:2ae65177f74e 235:b390c30aa6c6
1 #!/bin/bash 1 #!/bin/bash
2 # Sets up a new Training project based on SSDT default configuration in the current working directory. 2 # Sets up a new Training project based on SSDT default configuration in the current working directory.
3 # 3 #
4 # Usage: 4 # Usage:
5 # 5 #
6 # /data/preview/training-01 $ /ssdt/compose2/preview/training.sh 6 # /data/preview/training-01 $ /ssdt/compose2/prod/training.sh
7 # 7 #
8 # Will create a docker-compose.yml and .env file with default settings using the SSDT 8 # Will create a docker-compose.yml and .env file with default settings using the SSDT
9 # supplied training database 9 # supplied training database
10 # 10 #
11 # These are special database images which recreates the database each time the container is created. 11 # These are special database images which recreates the database each time the container is started.
12 # Therefore, it is very easy to reset the training database simply by deleting the 12 # Therefore, it is very easy to reset the training database simply by restarting the containers. for example:
13 # project containers and restarting them. for example:
14 # 13 #
15 # docker-compose down 14 # docker-compose down
16 # docker-compose up -d 15 # docker-compose up -d
17 # 16 #
18 source "$(dirname "${BASH_SOURCE[0]}")/../scripts/.functions.sh" 17 source "$(dirname "${BASH_SOURCE[0]}")/../scripts/.functions.sh"