2022-10-26 17:46:48 +08:00
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
zeo:
|
2022-12-29 04:16:49 +08:00
|
|
|
image: senaite/senaite:2.3.0
|
2022-10-26 17:46:48 +08:00
|
|
|
command: zeo
|
|
|
|
volumes:
|
|
|
|
- ./data:/data
|
|
|
|
|
|
|
|
instance1:
|
2022-12-29 04:16:49 +08:00
|
|
|
image: senaite/senaite:2.3.0
|
2022-10-26 17:46:48 +08:00
|
|
|
ports:
|
|
|
|
- 8081:8080
|
|
|
|
links:
|
|
|
|
- zeo
|
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpus: "1"
|
|
|
|
memory: 500MB
|
|
|
|
environment:
|
|
|
|
ZEO_ADDRESS: "zeo:8080"
|
|
|
|
|
|
|
|
instance2:
|
2022-12-29 04:16:49 +08:00
|
|
|
image: senaite/senaite:2.3.0
|
2022-10-26 17:46:48 +08:00
|
|
|
ports:
|
|
|
|
- 8082:8080
|
|
|
|
links:
|
|
|
|
- zeo
|
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpus: "1"
|
|
|
|
memory: 500MB
|
|
|
|
environment:
|
|
|
|
ZEO_ADDRESS: "zeo:8080"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
data:
|
|
|
|
external: true
|