comparison docker/do_all.sh @ 85:bcba1966e6db

docker: certificate generation + various improvments: - certificate is now auto-generated on first prosody launch is there is not already one - certificate generated on build is removed to avoid image-wide certificate - generated certificates are stored in sat_data - data image is now based on prosody which is itslef based on sat_pubsub - prosody configuration is moved to /etc/prosody/prosody_sat_cfg, and stored in sat_data - building order changed to adapt to new images hierarchy - libervia default configuration set to both without redirection (and with a security warning)
author Goffi <goffi@goffi.org>
date Thu, 18 Feb 2016 17:31:09 +0100
parents b2a09608bd9b
children
comparison
equal deleted inserted replaced
84:8dc445c967e2 85:bcba1966e6db
14 # GNU Affero General Public License for more details. 14 # GNU Affero General Public License for more details.
15 15
16 # You should have received a copy of the GNU Affero General Public License 16 # You should have received a copy of the GNU Affero General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. 17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 18
19 DIRS="base media sat_nomedia sat jp primitivus prosody sat_pubsub salut libervia data" 19 DIRS="base media sat_nomedia sat jp primitivus sat_pubsub prosody salut libervia data"
20 ACCOUNT="salutatoi" 20 ACCOUNT="salutatoi"
21 21
22 ori_dir=$(pwd) 22 ori_dir=$(pwd)
23 23
24 if [ $# -eq 0 ]; then 24 if [ $# -eq 0 ]; then