From b7159772292c98d048b732c1375ea3f8f6215d3f Mon Sep 17 00:00:00 2001 From: trivialkettle <126059809+trivialkettle@users.noreply.github.com> Date: Thu, 20 Jun 2024 11:01:23 +0200 Subject: [PATCH] Quote ports in docker-compose.yml The official docs (https://docs.docker.com/compose/compose-file/05-services/#ports) states: > HOST:CONTAINER should always be specified as a (quoted) string, to avoid conflicts with yaml base-60 float. --- docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 49035a28..7ceca03a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,13 +17,13 @@ services: - REDIS_HOST=redis - POSTGRESQL_HOST=postgres ports: - - 8080:8080 + - "8080:8080" chirpstack-gateway-bridge: image: chirpstack/chirpstack-gateway-bridge:4 restart: unless-stopped ports: - - 1700:1700/udp + - "1700:1700/udp" volumes: - ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge environment: @@ -38,7 +38,7 @@ services: restart: unless-stopped command: -c /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge-basicstation-eu868.toml ports: - - 3001:3001 + - "3001:3001" volumes: - ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge depends_on: @@ -49,7 +49,7 @@ services: restart: unless-stopped command: --server chirpstack:8080 --bind 0.0.0.0:8090 --insecure ports: - - 8090:8090 + - "8090:8090" depends_on: - chirpstack @@ -73,7 +73,7 @@ services: image: eclipse-mosquitto:2 restart: unless-stopped ports: - - 1883:1883 + - "1883:1883" volumes: - ./configuration/mosquitto/config/:/mosquitto/config/