docs(deploying/docker): Always wrap ports with quotes

This commit is contained in:
Julian Anderson authored and Ellis Git committed 2026-12-06 13:54:55 +00:00
1 parent 167f5a3f69
commit 0891636f71
4 files changed
+8 -7

No files matched your search

+1
View File
@@ -0,0 +1 @@
Exposed ports in example Docker Compose files are now wrapped with quotes to avoid YAML parsing issues. Contributed by @julian45.
@@ -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:
@@ -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:
+2 -2
View File
@@ -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 <this-machine-ip>: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`