From 455f562603c168449443c5a80cf570ef4ce8def0 Mon Sep 17 00:00:00 2001 From: perennial Date: Mon, 16 Sep 2024 23:30:27 +1000 Subject: [PATCH] use long syntax in compose.yaml --- compose.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/compose.yaml b/compose.yaml index eeb379d..61d3234 100644 --- a/compose.yaml +++ b/compose.yaml @@ -8,9 +8,16 @@ services: dockerfile: Dockerfile init: true ports: - # Specify `8282:8282` only if you are not using a reverse proxy - - 127.0.0.1:8282:8282 - env_file: .env + # Only specify 0.0.0.0 for host_ip if you are **not** using a reverse proxy + - name: http + target: 8282 + host_ip: 127.0.0.1 + published: 8282 + protocol: tcp + app_protocol: http + env_file: + - path: .env + required: true restart: unless-stopped cap_drop: - ALL