mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Flesh out docker-compose.yml with a complete, self-documenting example
Add container_name, an image tag, direct port mapping, and an explicit PORT env var instead of pointing to a separate override file just to publish a port.
This commit is contained in:
1 parent
6a0ba6f732
commit
302c025018
2 files changed
+16
-9
No files matched your search
+6
-7
@@ -1,11 +1,10 @@
|
||||
services:
|
||||
webspeak3:
|
||||
build: .
|
||||
image: moepchi/webspeak3:latest
|
||||
container_name: webspeak3
|
||||
restart: unless-stopped
|
||||
# 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:
|
||||
# webspeak3:
|
||||
# ports:
|
||||
# - "8080:8080"
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
- PORT=8080
|
||||
Reference in new issue
Block a user