| # This Docker stackfile deploys a single onos container and freeradius. |
| # The stackfile assumes that overlay network 'voltha_net' has already been |
| # created. To deploy the stack, issue the command: |
| # docker stack deploy -c docker-compose-onos-swarm.yml onos |
| image: "${REGISTRY}marcelmaatkamp/freeradius:${RADIUS_TAG:-latest}" |
| - /cord/incubator/voltha/compose/data/clients.conf:/etc/raddb/clients.conf |
| - /cord/incubator/voltha/compose/data/users:/etc/raddb/users |
| image: "${REGISTRY}${REPOSITORY}voltha-unum:${TAG:-latest}" |
| ORCHESTRATION: "swarm://" |
| LABELS: "org.voltha.onos.cluster:true" |
| NETWORK: "org.voltha.onos.cluster:true" |
| - /var/run/docker.sock:/var/run/docker.sock |
| org.voltha.onos.cluster: "true" |
| image: "${REGISTRY}${REPOSITORY}voltha-onos:${TAG:-latest}" |
| EXTRA_JAVA_OPTS: "-Donos.cluster.metadata.uri=http://onos_cluster_manager:5411/config/" |
| org.voltha.onos.cluster: "true" |