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:
parent
50159c0e19
commit
b715977229
@ -17,13 +17,13 @@ services:
|
|||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
- POSTGRESQL_HOST=postgres
|
- POSTGRESQL_HOST=postgres
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- "8080:8080"
|
||||||
|
|
||||||
chirpstack-gateway-bridge:
|
chirpstack-gateway-bridge:
|
||||||
image: chirpstack/chirpstack-gateway-bridge:4
|
image: chirpstack/chirpstack-gateway-bridge:4
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 1700:1700/udp
|
- "1700:1700/udp"
|
||||||
volumes:
|
volumes:
|
||||||
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge
|
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge
|
||||||
environment:
|
environment:
|
||||||
@ -38,7 +38,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: -c /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge-basicstation-eu868.toml
|
command: -c /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge-basicstation-eu868.toml
|
||||||
ports:
|
ports:
|
||||||
- 3001:3001
|
- "3001:3001"
|
||||||
volumes:
|
volumes:
|
||||||
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge
|
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -49,7 +49,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: --server chirpstack:8080 --bind 0.0.0.0:8090 --insecure
|
command: --server chirpstack:8080 --bind 0.0.0.0:8090 --insecure
|
||||||
ports:
|
ports:
|
||||||
- 8090:8090
|
- "8090:8090"
|
||||||
depends_on:
|
depends_on:
|
||||||
- chirpstack
|
- chirpstack
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ services:
|
|||||||
image: eclipse-mosquitto:2
|
image: eclipse-mosquitto:2
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 1883:1883
|
- "1883:1883"
|
||||||
volumes:
|
volumes:
|
||||||
- ./configuration/mosquitto/config/:/mosquitto/config/
|
- ./configuration/mosquitto/config/:/mosquitto/config/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user