mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-13 00:24:31 +08:00
- shallow clone for local installs
- added certs to other compose files
This commit is contained in:
parent
bb63fe8ee8
commit
649a055025
4 changed files with 7 additions and 1 deletions
|
@ -50,6 +50,8 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /root/Caddyfile:/etc/caddy/Caddyfile
|
- /root/Caddyfile:/etc/caddy/Caddyfile
|
||||||
|
- /root/fullchain.pem:/root/fullchain.pem
|
||||||
|
- /root/privkey.pem:/root/privkey.pem
|
||||||
- caddy_data:/data
|
- caddy_data:/data
|
||||||
- caddy_conf:/config
|
- caddy_conf:/config
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -57,6 +57,8 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /root/Caddyfile:/etc/caddy/Caddyfile
|
- /root/Caddyfile:/etc/caddy/Caddyfile
|
||||||
|
- /root/fullchain.pem:/root/fullchain.pem
|
||||||
|
- /root/privkey.pem:/root/privkey.pem
|
||||||
- caddy_data:/data
|
- caddy_data:/data
|
||||||
- caddy_conf:/config
|
- caddy_conf:/config
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -64,6 +64,8 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /root/Caddyfile:/etc/caddy/Caddyfile # Config file for Caddy
|
- /root/Caddyfile:/etc/caddy/Caddyfile # Config file for Caddy
|
||||||
|
- /root/fullchain.pem:/root/fullchain.pem
|
||||||
|
- /root/privkey.pem:/root/privkey.pem
|
||||||
- caddy_data:/data
|
- caddy_data:/data
|
||||||
- caddy_conf:/config
|
- caddy_conf:/config
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -260,7 +260,7 @@ local_install_setup() { (
|
||||||
rm -rf netmaker-tmp
|
rm -rf netmaker-tmp
|
||||||
mkdir netmaker-tmp
|
mkdir netmaker-tmp
|
||||||
cd netmaker-tmp
|
cd netmaker-tmp
|
||||||
git clone https://www.github.com/gravitl/netmaker
|
git clone --depth=1 https://www.github.com/gravitl/netmaker
|
||||||
cd netmaker
|
cd netmaker
|
||||||
git checkout $BUILD_TAG
|
git checkout $BUILD_TAG
|
||||||
git pull origin $BUILD_TAG
|
git pull origin $BUILD_TAG
|
||||||
|
|
Loading…
Add table
Reference in a new issue