Move port publishing out of the base compose file into a local override

Committing a fixed port mapping doesn't work across hosts (this one already
had 8080 taken), so ports now belong in a gitignored docker-compose.override.yml.
This commit is contained in:
Moepchi committed 2026-07-29 20:20:05 +02:00
1 parent c48534dbc4
commit 234213d33e
1 file changed
+7 -2
+7 -2
View File
@@ -2,5 +2,10 @@ services:
ts-web-client:
build: .
restart: unless-stopped
ports:
- "8080:8080"
# Port publishing is deployment-specific (depends on what's free on the
# host) - set it in a local, gitignored docker-compose.override.yml, e.g.:
#
# services:
# ts-web-client:
# ports:
# - "8080:8080"