Merge branch 'master' of https://gitlab.com/ArisuOngaku/server-scripts
This commit is contained in:
commit
ac9ed333ec
0
caddy_docker_custom_user/create.sh
Normal file → Executable file
0
caddy_docker_custom_user/create.sh
Normal file → Executable file
@ -5,12 +5,12 @@ then
|
|||||||
echo "Usage: <script> <container_id>"
|
echo "Usage: <script> <container_id>"
|
||||||
else
|
else
|
||||||
CONTAINER_ID=$1
|
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/caddy.conf:/etc/Caddyfile \
|
||||||
-v /home/website/.caddy:/root/.caddy \
|
-v /home/website/.caddy:/root/.caddy \
|
||||||
-v /home/arisu/rtmp:/home/arisu/rtmp \
|
-v /home/arisu/rtmp:/home/arisu/rtmp \
|
||||||
-v /home/website:/home/website \
|
-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 \
|
-e ACME_AGREE=true \
|
||||||
$CONTAINER_ID
|
$CONTAINER_ID
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user