4
This commit is contained in:
parent
a17b7ea9db
commit
f325fcbeb5
2
.gitignore
vendored
2
.gitignore
vendored
@ -25,3 +25,5 @@ bin/output/cert.csr
|
||||
bin/output/cert.pem
|
||||
bin/output/priv.key
|
||||
bin/tmp/csrconfig.txt
|
||||
traefik/cert.pem
|
||||
traefik/key.pem
|
||||
|
20
Makefile
Normal file
20
Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
all:
|
||||
echo OK
|
||||
|
||||
deploy-traefik:
|
||||
ansible-playbook -i local-inventory --connection=local \
|
||||
--extra-vars config_dir=/etc/app-traefik \
|
||||
--extra-vars traefik_dashboard_hostname=traefik.ip.ngtech.home \
|
||||
deploy-traefik.yml
|
||||
|
||||
gen-cert:
|
||||
cd bin && bash gen-cert.sh
|
||||
|
||||
use-cert:
|
||||
cp -vf bin/output/cert.pem traefik/cert.pem
|
||||
cp -vf bin/output/priv.key traefik/key.pem
|
||||
|
||||
install-dependencies:
|
||||
|
||||
deploy-docker:
|
||||
ansible-playbook --connection=local -i local-inventory deploy-docker-ce.yml
|
4
deploy-local.sh
Executable file
4
deploy-local.sh
Executable file
@ -0,0 +1,4 @@
|
||||
ansible-playbook -i local-inventory --connection=local \
|
||||
--extra-vars config_dir=/etc/app-traefik \
|
||||
--extra-vars traefik_dashboard_hostname=traefik.ip.ngtech.home \
|
||||
deploy-traefik.yml
|
2
local-inventory
Normal file
2
local-inventory
Normal file
@ -0,0 +1,2 @@
|
||||
[local]
|
||||
127.0.0.1
|
Loading…
Reference in New Issue
Block a user