You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
905 B

4 years ago
version: "2"
services:
registry:
image: registry
ports:
- "5000:5000"
master:
4 years ago
image: localhost:5000/swarmlab-sec
4 years ago
privileged: true
cap_add:
- NET_ADMIN
user: root
entrypoint: ["sec_bootstrap", "role=master", "sec_master_service_name=master", "sec_worker_service_name=worker"]
ports:
4 years ago
- "${SSH_PORT}:22"
4 years ago
networks:
4 years ago
- hybrid-sec
4 years ago
volumes:
4 years ago
- /data/appl/ok/swarmlab-hybrid-agent/src-local/instance/swarmlab-sec/test/project:/project
4 years ago
worker:
4 years ago
image: localhost:5000/swarmlab-sec
4 years ago
privileged: true
cap_add:
- NET_ADMIN
user: root
entrypoint: ["sec_bootstrap", "role=worker", "sec_master_service_name=master", "sec_worker_service_name=worker"]
networks:
4 years ago
- hybrid-sec
4 years ago
volumes:
4 years ago
- /data/appl/ok/swarmlab-hybrid-agent/src-local/instance/swarmlab-sec/test/project:/project
4 years ago
networks:
4 years ago
hybrid-sec: