summaryrefslogtreecommitdiff
path: root/create.py
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-05-04 00:10:22 -0700
committerElizabeth Hunt <me@liz.coffee>2025-05-04 00:35:51 -0700
commitc3e9305bce9fd1aaf165779fb46570c683750e6f (patch)
treedcc01e3d35abd0647f7a053a00d9e3f1f91072d1 /create.py
parent7106b304324b3a7c4dc5fa25432f08041cbc41cb (diff)
downloadinfra-c3e9305bce9fd1aaf165779fb46570c683750e6f.tar.gz
infra-c3e9305bce9fd1aaf165779fb46570c683750e6f.zip
Tried to use docker ingress to solve x-real-ip on mail daemon but it didn't work for other ports
Diffstat (limited to 'create.py')
-rwxr-xr-xcreate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/create.py b/create.py
index c956f1b..01dcaef 100755
--- a/create.py
+++ b/create.py
@@ -153,7 +153,7 @@ class RoleGenerator:
networks:
- proxy
healthcheck:
- test: ["CMD-SHELL", "curl", "--fail", "http://localhost:8000"]
+ test: ["CMD-SHELL", "curl", "--fail", "http://localhost:{self.port}"]
timeout: 15s
interval: 30s
retries: 3