Quote ports in docker-compose

Per sepcification in compose-file v3 ports are in quotes.

https://docs.docker.com/compose/compose-file/compose-file-v3/
This commit is contained in:
Jascha Urbach 2022-11-16 12:38:49 +01:00
parent 1a8580cdbc
commit cb187c880e
No known key found for this signature in database
GPG key ID: A43A844B114F9B08

View file

@ -5,7 +5,7 @@ services:
image: nginx:latest
restart: unless-stopped
ports:
- 1333:80
- "1333:80"
depends_on:
- web
networks:
@ -36,7 +36,7 @@ services:
networks:
- main
ports:
- 8000
- "8000"
redis_activity:
image: redis
command: redis-server --requirepass ${REDIS_ACTIVITY_PASSWORD} --appendonly yes --port ${REDIS_ACTIVITY_PORT}