Skip to content

Commit e4fccf9

Browse files
committed
Revert "added dynamic path to letscript"
This reverts commit fb56efa.
1 parent 065c837 commit e4fccf9

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.env.default

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
CERTBOT_DOMAIN=gaiax.taidy.cloud
2-
CERTBOT_EMAIL=[email protected]
1+
CERTBOT_DOMAIN=gaiax.cticpoc.com
2+
CERTBOT_EMAIL=[email protected]
33
LEGAL_NAME=CTIC Technology Centre
44
COUNTRY_CODE=ES
55
COUNTRY_SUBDIVISION_CODE=ES-AS

Taskfile.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
version: "3"
22

33
vars:
4-
LETSENCRYPT_DIR: "./letsencrypt"
54
CERTS_DIR: "{{.ROOT_DIR}}/certs"
65
CERTBOT_IMAGE: certbot/certbot:v2.6.0
76
STATIC_ROOT: "{{.ROOT_DIR}}/htdocs"
@@ -45,14 +44,14 @@ tasks:
4544
cmds:
4645
- >
4746
docker run -it --rm -p 80:80
48-
-v "{{.LETSENCRYPT_DIR}}/etc/letsencrypt:/etc/letsencrypt"
49-
-v "{{.LETSENCRYPT_DIR}}/var/lib/letsencrypt:/var/lib/letsencrypt"
47+
-v "/etc/letsencrypt:/etc/letsencrypt"
48+
-v "/var/lib/letsencrypt:/var/lib/letsencrypt"
5049
{{.CERTBOT_IMAGE}}
5150
--preferred-chain="ISRG Root X1"
5251
certonly
5352
--standalone -n --agree-tos --key-type rsa --email {{.CERTBOT_EMAIL}} -d {{.CERTBOT_DOMAIN}}
5453
- mkdir -p {{.CERTS_DIR}}
55-
- cp -Lr {{.LETSENCRYPT_DIR}}/etc/letsencrypt/live/{{.CERTBOT_DOMAIN}}/* {{.CERTS_DIR}}
54+
- cp -Lr /etc/letsencrypt/live/{{.CERTBOT_DOMAIN}}/* {{.CERTS_DIR}}
5655
# We need to add the root certificate to the chain for the Compliance request to work
5756
# Note that we indicated that we want to use the "ISRG Root X1" root using the preferred-chain option
5857
- wget https://letsencrypt.org/certs/isrgrootx1.pem -O {{.CERTS_DIR}}/isrgrootx1.pem
@@ -97,4 +96,4 @@ tasks:
9796
deps:
9897
- start-webserver
9998
cmds:
100-
- npm run build-vp
99+
- npm run build-vp

0 commit comments

Comments
 (0)