This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ACL configuration | |
acl = { | |
enabled = true | |
default_policy = "deny" | |
enable_token_persistence = true | |
enable_token_replication = true | |
down_policy = "extend-cache" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
WORKDIR="/home/app/" | |
ASSETS="${WORKDIR}assets/" | |
# LOGS="${WORKDIR}logs/" | |
mkdir -p ${ASSETS} | |
export DATACENTER=${DATACENTER:-"dc1"} | |
export DOMAIN=${DOMAIN:-"consul"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
export DATACENTER=${DATACENTER:-"dc1"} | |
export DOMAIN=${DOMAIN:-"consul"} | |
export CONSUL_DATA_DIR=${CONSUL_DATA_DIR:-"/etc/consul/data"} | |
export CONSUL_CONFIG_DIR=${CONSUL_CONFIG_DIR:-"/etc/consul/config"} | |
export DNS_RECURSOR=${DNS_RECURSOR:-"1.1.1.1"} | |
export HTTPS_PORT=${HTTPS_PORT:-"8443"} | |
export DNS_PORT=${DNS_PORT:-"8600"} |