mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-03 18:02:49 +08:00
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:
1 parent
c48534dbc4
commit
234213d33e
1 file changed
+7
-2
+7
-2
@@ -2,5 +2,10 @@ services:
|
|||||||
ts-web-client:
|
ts-web-client:
|
||||||
build: .
|
build: .
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
# Port publishing is deployment-specific (depends on what's free on the
|
||||||
- "8080:8080"
|
# host) - set it in a local, gitignored docker-compose.override.yml, e.g.:
|
||||||
|
#
|
||||||
|
# services:
|
||||||
|
# ts-web-client:
|
||||||
|
# ports:
|
||||||
|
# - "8080:8080"
|
||||||
Reference in new issue
Block a user