aboutsummaryrefslogtreecommitdiff
path: root/app/deployment/bottin2.hcl
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-10-27 23:25:30 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-10-27 23:25:30 +0100
commitf4a88fa5659ca658643d3ff07acf9723104d181b (patch)
tree9779f99949eb57bc3d5b37fa924be21df84a55dd /app/deployment/bottin2.hcl
parent2557793cee67469c1871fd384c6c094006a64aa6 (diff)
downloadinfrastructure-f4a88fa5659ca658643d3ff07acf9723104d181b.tar.gz
infrastructure-f4a88fa5659ca658643d3ff07acf9723104d181b.zip
Docker does not use IPv6, switching to "network=host"
Diffstat (limited to 'app/deployment/bottin2.hcl')
-rw-r--r--app/deployment/bottin2.hcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/deployment/bottin2.hcl b/app/deployment/bottin2.hcl
index 85bda59..56b701a 100644
--- a/app/deployment/bottin2.hcl
+++ b/app/deployment/bottin2.hcl
@@ -13,9 +13,10 @@ job "directory2" {
driver = "docker"
config {
image = "lxpz/bottin_amd64:14"
+ network_mode = "host"
readonly_rootfs = true
port_map {
- ldap_port = 1389
+ ldap_port = 389
}
volumes = [
"secrets/config.json:/config.json"