Browse Source

README

develop
Robin Thoni 3 years ago
parent
commit
e7d186d6c9
Signed by: Robin THONI <robin@rthoni.com> GPG Key ID: 4E09DEF46B99E61E
1 changed files with 16 additions and 0 deletions
  1. 16
    0
      README.md

+ 16
- 0
README.md View File

@@ -0,0 +1,16 @@
1
+# Installation
2
+
3
+## .env
4
+
5
+- Setup `ALL_TZ` to the current timezone
6
+- Set `ALL_RESTART_POLICY` to `unless-stopped`
7
+
8
+## Generate CA
9
+
10
+```shell
11
+mkdir -p data/step-ca/home/secrets
12
+echo 'change_it' > data/step-ca/home/secrets/password
13
+chmod 600 data/step-ca/home/secrets/password
14
+chown -R 1000:1000 data/step-ca/home
15
+docker run -it --rm -v `pwd`/data/step-ca/home:/home/step smallstep/step-ca:0.15.6 step ca init --ssh --address '0.0.0.0:443' --provisioner 'admin-provisioner' --password-file 'secrets/password' --dns '127.0.0.1,localhost,pki.example.com' --name 'Example Inc.'
16
+```

Loading…
Cancel
Save