yannmoelle/update.sh

10 lines
367 B
Bash
Raw Normal View History

2023-04-14 17:05:30 +02:00
#!/bin/bash
2023-05-21 23:38:45 +02:00
cd /root/
2023-05-26 21:30:05 +02:00
rm -rf /root/links/yannmoelle
mkdir /root/links/yannmoelle
cd /root/links/yannmoelle/
git clone ssh://git@ssh.git.moelle.space:2222/hxcde/yannmoelle.git .
2023-05-21 23:38:45 +02:00
rm README.md
2023-05-26 21:30:05 +02:00
docker stop yannmoelle
docker rm yannmoelle
2023-05-26 21:57:53 +02:00
docker run -d --restart=always --name yannmoelle -p 127.0.0.1:8085:80 -v /root/links/yannmoelle/:/usr/local/apache2/htdocs/ httpd:2.4