We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee0c10e commit f5a7046Copy full SHA for f5a7046
ansible/roles/mongodb/templates/mongodb.container.j2
@@ -10,13 +10,17 @@ Volume = mongodb.volume:/data/db
10
# XXX: role should to have a dependency for the lovelace cert
11
Volume = /etc/opt/mongodb:/certs:ro
12
NoNewPrivileges = true
13
-PublishPort = 27017:27017
+Network=host
14
Exec = \
15
--auth \
16
--tlsMode requireTLS \
17
--tlsCertificateKeyFile /certs/fullchain-plus-key.pem \
18
--tlsCAFile /certs/fullchain.pem \
19
- --tlsAllowConnectionsWithoutCertificates
+ --tlsAllowConnectionsWithoutCertificates \
20
+ --ipv6
21
+
22
+[Network]
23
+IPv6=true
24
25
[Service]
26
# Resource control
0 commit comments