build(docker): add port mapping and network configuration
This commit is contained in:
1 parent
851681bc92
commit
bed7fa4060
1 file changed
+8
@@ -6,6 +6,10 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "7860:7860"
|
||||||
|
networks:
|
||||||
|
- dokploy-network
|
||||||
environment:
|
environment:
|
||||||
LANGFLOW_SECRET_KEY: ${LANGFLOW_SECRET_KEY:-changeme}
|
LANGFLOW_SECRET_KEY: ${LANGFLOW_SECRET_KEY:-changeme}
|
||||||
OPENROUTER_API_KEY: ${OPENROUTER_API_KEY}
|
OPENROUTER_API_KEY: ${OPENROUTER_API_KEY}
|
||||||
@@ -18,3 +22,7 @@ services:
|
|||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period: 60s
|
start_period: 60s
|
||||||
|
|
||||||
|
networks:
|
||||||
|
dokploy-network:
|
||||||
|
external: true
|
||||||
Reference in new issue
Block a user