mirror of
https://github.com/senaite/senaite.docker.git
synced 2024-11-14 12:14:39 +08:00
41 lines
625 B
YAML
41 lines
625 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
|
|
zeo:
|
|
image: senaite/senaite:2.3.0
|
|
command: zeo
|
|
volumes:
|
|
- ./data:/data
|
|
|
|
instance1:
|
|
image: senaite/senaite:2.3.0
|
|
ports:
|
|
- 8081:8080
|
|
links:
|
|
- zeo
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "1"
|
|
memory: 500MB
|
|
environment:
|
|
ZEO_ADDRESS: "zeo:8080"
|
|
|
|
instance2:
|
|
image: senaite/senaite:2.3.0
|
|
ports:
|
|
- 8082:8080
|
|
links:
|
|
- zeo
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "1"
|
|
memory: 500MB
|
|
environment:
|
|
ZEO_ADDRESS: "zeo:8080"
|
|
|
|
volumes:
|
|
data:
|
|
external: true
|