- shallow clone for local installs

- added certs to other compose files
This commit is contained in:
Tobias Cudnik 2023-05-09 12:57:01 +02:00
parent bb63fe8ee8
commit 649a055025
4 changed files with 7 additions and 1 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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