Browse Source

- shallow clone for local installs
- added certs to other compose files

Tobias Cudnik 2 years ago
parent
commit
649a055025

+ 2 - 0
compose/docker-compose-emqx.yml

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

+ 2 - 0
compose/docker-compose.ee.yml

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

+ 2 - 0
compose/docker-compose.reference.yml

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

+ 1 - 1
scripts/nm-quick.sh

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