Github user mxm commented on a diff in the pull request:
https://github.com/apache/flink/pull/2667#discussion_r84242416
--- Diff: flink-contrib/docker-flink/docker-compose.yml ---
@@ -20,16 +20,20 @@ version: "2"
services:
jobmanager:
image: flink
+ container_name: "jobmanager"
+ expose:
+ - "6123"
ports:
- "48081:8081"
command: jobmanager
- volumes:
- - /opt/flink/conf
taskmanager:
image: flink
+ expose:
+ - "6121"
+ - "6122"
depends_on:
- jobmanager
command: taskmanager
- volumes_from:
- - jobmanager:ro
+ links:
--- End diff --
`links` are now a legacy feature of Docker 1.9.0 but probably fine to stick
with it for now.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---