From 402f6cf7e861a9c6d18ea0b712eb0daa687c6a3c Mon Sep 17 00:00:00 2001 From: trick77 Date: Sat, 13 Jan 2024 08:56:28 +0100 Subject: [PATCH] Don't publish port, only expose --- observium/compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/observium/compose.yml b/observium/compose.yml index b5e16e4..b27d010 100644 --- a/observium/compose.yml +++ b/observium/compose.yml @@ -7,8 +7,8 @@ services: container_name: httpd restart: unless-stopped env_file: ./.env - ports: - - "127.0.0.1:8081:8080" + expose: + - 8080 healthcheck: test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/8080' || exit 1 interval: 10s