mirror of
https://github.com/ncarlier/webhookd.git
synced 2025-04-18 21:42:43 +00:00
fix: Some correction
Restore mount point, fix typo
This commit is contained in:
parent
ca21e8a1ac
commit
185f4239d8
6
Makefile
6
Makefile
|
@ -14,7 +14,7 @@ define docker_run_flags
|
||||||
--rm \
|
--rm \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
--env-file $(PWD)/etc/env.conf \
|
--env-file $(PWD)/etc/env.conf \
|
||||||
-p 8081:8080 \
|
-P \
|
||||||
-i -t
|
-i -t
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -22,11 +22,11 @@ all: build
|
||||||
|
|
||||||
volume:
|
volume:
|
||||||
echo "Building $(APPNAME) volumes..."
|
echo "Building $(APPNAME) volumes..."
|
||||||
sudo docker run -v $(PWD)/scripts:/var/opt/webhookd/scripts --name $(APPNAME)_volumes busybox true
|
sudo docker run -v $(PWD):/var/opt/$(APPNAME) -v ~/var/$(APPNAME):/var/opt/$(APPNAME) --name $(APPNAME)_volumes busybox true
|
||||||
|
|
||||||
key:
|
key:
|
||||||
$(eval docker_run_flags += -v $(PWD)/ssh:/root/.ssh)
|
$(eval docker_run_flags += -v $(PWD)/ssh:/root/.ssh)
|
||||||
echo "Add techKey"
|
echo "Add private deploy key"
|
||||||
|
|
||||||
dev:
|
dev:
|
||||||
$(eval docker_run_flags += --volumes-from $(APPNAME)_volumes)
|
$(eval docker_run_flags += --volumes-from $(APPNAME)_volumes)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user