create.sh: chmod, create_docker_container.sh: name container and ports
This commit is contained in:
parent
1a51f3426d
commit
506ed33f90
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>"
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user