mobile api changes + docker image basics

This commit is contained in:
Schneider Roland
2022-06-11 21:05:19 +02:00
parent 7e5efc2c7f
commit 067fc72ce4
207 changed files with 3803 additions and 130 deletions

View File

@@ -0,0 +1,20 @@
docker volume create apache || true
docker run \
--rm \
-it \
-d \
-v apache:/var/www \
-v $(pwd)/etc/apache2:/etc/apache2 \
-v $(pwd)/etc/cron.d:/etc/cron.d \
-v $(pwd)/etc/letsencrypt:/etc/letsencrypt \
--name apache \
-p 80:80 \
-p 443:443 \
apache
echo "Start certbot manually to always renew ssl"
echo "https://certbot.eff.org/lets-encrypt/ubuntubionic-apache"
echo "certbot --apache"
echo "sudo certbot renew --dry-run"