feat: add .env.example and .gitignore for step-ca configuration
This commit is contained in:
23
.env.example
Normal file
23
.env.example
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# PostgreSQL Configuration
|
||||||
|
# Note: This password should also be stored in secrets/postgres_password.txt
|
||||||
|
POSTGRES_PASSWORD=changeme
|
||||||
|
|
||||||
|
# Step-CA Configuration
|
||||||
|
# Note: Step-CA password for key encryption should be stored in secrets/step_pwd.txt
|
||||||
|
STEP_CA_IP=127.0.0.1
|
||||||
|
STEP_CA_PORT=9000
|
||||||
|
STEP_CA_NAME=Default CA
|
||||||
|
STEP_CA_ISSUER=CN=Default CA, O=Organization, C=US
|
||||||
|
STEP_CA_DNS_NAMES=localhost,ca.local
|
||||||
|
STEP_CA_PROVISIONER=admin
|
||||||
|
STEP_CA_REMOTE_MANAGEMENT=true
|
||||||
|
STEP_CA_ADMIN_SUBJECT=admin@example.com
|
||||||
|
STEP_CA_SSH=true
|
||||||
|
STEP_CA_ACME=true
|
||||||
|
|
||||||
|
# DNS Configuration
|
||||||
|
DNS_1=8.8.8.8
|
||||||
|
DNS_2=8.8.4.4
|
||||||
|
DNS_SEARCH_1=localhost
|
||||||
|
DNS_SEARCH_2=local
|
||||||
|
DNS_SEARCH_3=internal
|
||||||
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
.env
|
||||||
|
step.tar
|
||||||
|
secrets
|
||||||
|
bun.lock
|
||||||
|
*.ts
|
||||||
|
first.md
|
||||||
|
config
|
||||||
|
node_modules
|
||||||
|
package.json
|
||||||
Reference in New Issue
Block a user