Update
This commit is contained in:
@@ -13,7 +13,7 @@ resource "docker_container" "fail2ban" {
|
||||
restart = "always"
|
||||
|
||||
capabilities {
|
||||
add = ["NET_ADMIN", "NET_RAW"]
|
||||
add = ["CAP_NET_ADMIN", "CAP_NET_RAW"]
|
||||
}
|
||||
|
||||
env = [
|
||||
|
||||
@@ -12,7 +12,12 @@ resource "docker_container" "goaccess" {
|
||||
name = "goaccess"
|
||||
restart = "always"
|
||||
|
||||
entrypoint = ["zcat -f /srv/logs/nginx/access.log.*.gz | /usr/bin/goaccess"]
|
||||
command = [
|
||||
"srv/logs/nginx/access.log",
|
||||
"-a",
|
||||
"--real-time-html",
|
||||
"-p /srv/config/goaccess.conf"
|
||||
]
|
||||
|
||||
env = [
|
||||
"TZ=Europe/Amsterdam",
|
||||
@@ -35,7 +40,7 @@ resource "docker_container" "goaccess" {
|
||||
|
||||
networks_advanced {
|
||||
name = docker_network.container-public.name
|
||||
ipv4_address = "192.168.3.48"
|
||||
ipv4_address = "192.168.3.49"
|
||||
}
|
||||
|
||||
lifecycle {
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user