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.
This commit is contained in:
trivialkettle 2024-06-20 11:01:23 +02:00 committed by GitHub
parent 50159c0e19
commit b715977229
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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/