diff --git a/changelog.d/2659.doc b/changelog.d/2659.doc new file mode 100644 index 000000000..5d66ab0ed --- /dev/null +++ b/changelog.d/2659.doc @@ -0,0 +1 @@ +Exposed ports in example Docker Compose files are now wrapped with quotes to avoid YAML parsing issues. Contributed by @julian45. diff --git a/docs/public/deploying/docker-compose.with-caddy-labels.yml b/docs/public/deploying/docker-compose.with-caddy-labels.yml index 3099ee176..d3ea22289 100644 --- a/docs/public/deploying/docker-compose.with-caddy-labels.yml +++ b/docs/public/deploying/docker-compose.with-caddy-labels.yml @@ -6,8 +6,8 @@ services: # For more info, visit https://github.com/lucaslorentz/caddy-docker-proxy image: "docker.io/lucaslorentz/caddy-docker-proxy:ci-alpine" ports: - - 80:80 - - 443:443 + - "80:80" + - "443:443" networks: - proxy volumes: diff --git a/docs/public/deploying/docker-compose.with-caddy.yml b/docs/public/deploying/docker-compose.with-caddy.yml index 3e7609e4a..6c5e1a010 100644 --- a/docs/public/deploying/docker-compose.with-caddy.yml +++ b/docs/public/deploying/docker-compose.with-caddy.yml @@ -4,9 +4,9 @@ services: caddy: image: "docker.io/caddy:latest" ports: - - 80:80 - - 443:443 - - 8448:8448 + - "80:80" + - "443:443" + - "8448:8448" networks: - proxy volumes: diff --git a/docs/public/deploying/docker-compose.yml b/docs/public/deploying/docker-compose.yml index 342a94615..820aadba6 100644 --- a/docs/public/deploying/docker-compose.yml +++ b/docs/public/deploying/docker-compose.yml @@ -9,11 +9,11 @@ services: # If your reverse proxy is on the host, use this # and configure it to connect to `127.0.0.1:8008` - - 127.0.0.1:8008:8008 + - "127.0.0.1:8008:8008" # If your reverse proxy is on another machine, use this # and configure it to connect to :8008 - # - 8008:8008 + # - "8008:8008" # If your reverse proxy is a docker container on the same network, # comment out the entire `ports` section, and configure it to connect to `continuwuity:8008`