mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-03-03 09:50:26 +00:00
44 lines
555 B
Plaintext
44 lines
555 B
Plaintext
rng1:
|
|
build: rng
|
|
|
|
rng2:
|
|
build: rng
|
|
|
|
rng3:
|
|
build: rng
|
|
|
|
rng0:
|
|
image: jpetazzo/hamba
|
|
links:
|
|
- rng1
|
|
- rng2
|
|
- rng3
|
|
command: 80 rng1 80 rng2 80 rng3 80
|
|
ports:
|
|
- "8001:80"
|
|
|
|
hasher:
|
|
build: hasher
|
|
ports:
|
|
- "8002:80"
|
|
|
|
webui:
|
|
build: webui
|
|
extra_hosts:
|
|
redis: A.B.C.D
|
|
ports:
|
|
- "8000:80"
|
|
#volumes:
|
|
# - "./webui/files/:/files/"
|
|
|
|
#redis:
|
|
# image: redis
|
|
|
|
worker:
|
|
build: worker
|
|
links:
|
|
- rng0:rng
|
|
- hasher:hasher
|
|
extra_hosts:
|
|
redis: A.B.C.D
|