|
@@ -36,12 +36,11 @@ export MYSQL_PASSWORD=$(openssl rand -base64 32)
|
|
|
export MYSQL_ROOT_PASSWORD=$(openssl rand -base64 32)
|
|
|
|
|
|
cp nginx.conf /etc/nginx
|
|
|
-systemctl nginix restart
|
|
|
+systemctl restart nginx
|
|
|
for service in pad git cloud
|
|
|
do
|
|
|
pushd $service
|
|
|
ln -s $PWD/nginx.conf /etc/nginx/sites-enabled/$service
|
|
|
- systemctl restart nginx
|
|
|
certbot certonly --email $MAIL --webroot -w /srv/letsencrypt/ --agree-tos -d www.$service.$DOMAIN,$service.$DOMAIN
|
|
|
docker-compose up -d
|
|
|
popd
|