This commit is contained in:
Alice Gaudon 2019-10-25 22:39:54 +02:00
commit ac9ed333ec
2 changed files with 2 additions and 2 deletions

0
caddy_docker_custom_user/create.sh Normal file → Executable file
View File

View File

@ -5,12 +5,12 @@ then
echo "Usage: <script> <container_id>"
else
CONTAINER_ID=$1
docker run -d --restart always \
docker run --name caddy -d --restart always \
-v /home/website/caddy/caddy.conf:/etc/Caddyfile \
-v /home/website/.caddy:/root/.caddy \
-v /home/arisu/rtmp:/home/arisu/rtmp \
-v /home/website:/home/website \
-p 80:80 -p 443:443 -p 2015:2015 \
-p 80:80 -p 443:443 -p 2015:2015 -p 4889:4889 -p 4887:4887 \
-e ACME_AGREE=true \
$CONTAINER_ID
fi