docker-compose: Port-Mapping kommentieren (Host-Port vs. Container-Port)
This commit is contained in:
1 parent
9848df850c
commit
ca89eab7eb
1 file changed
+2
@@ -5,6 +5,8 @@ services:
|
|||||||
container_name: research-chat
|
container_name: research-chat
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
|
# Links = Host-Port (von außen erreichbar), rechts = Container-Port.
|
||||||
|
# Beispiel: auf dem Server über 8444 erreichbar → "8444:3000"
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
env_file: .env
|
env_file: .env
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in new issue
Block a user