mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-02-14 09:39:56 +00:00
We want to be able to run on IPv6-only clusters (as well as legacy IPv4 clusters, as well as DualStack clusters). This requires minor changes in the code, because in multiple places, we were binding listening sockets explicitly to 0.0.0.0. We change this to :: instead, and in some cases, we make it easier to change that if needed (e.g. through environment variables).
25 lines
278 B
YAML
25 lines
278 B
YAML
services:
|
|
|
|
rng:
|
|
build: rng
|
|
ports:
|
|
- "8001:80"
|
|
|
|
hasher:
|
|
build: hasher
|
|
ports:
|
|
- "8002:80"
|
|
|
|
webui:
|
|
build: webui
|
|
ports:
|
|
- "8000:80"
|
|
volumes:
|
|
- "./webui/files/:/files/"
|
|
|
|
redis:
|
|
image: redis
|
|
|
|
worker:
|
|
build: worker
|