https://github.com/pecigonzalo/docker-meta-aws
https://github.com/pecigonzalo/docker-meta-aws
aws docker docker-for-aws meta-aws swarm
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pecigonzalo/docker-meta-aws
- Owner: pecigonzalo
- Created: 2017-04-05T11:29:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-12-12T09:17:58.000Z (over 2 years ago)
- Last Synced: 2025-07-07T14:02:21.472Z (about 1 year ago)
- Topics: aws, docker, docker-for-aws, meta-aws, swarm
- Language: Python
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Swarm for AWS Metadata Service
Provides cluster metadata and serves tokens
*Example project:* **[Terraform docker-swarm](https://github.com/pecigonzalo/tf-docker-swarm)**
### Description
This container will provide general cluster metadata to the rest of the swarm cluster, in it current
state it just provides tokens for Swarm members to join a Swarm cluster.
### Usage
##### Paramaters
| Parameter | Example | Description |
|-----------|:-------:|:------------|
| AWS_REGION | eu-central-1 | AWS Region ID |
| MANAGER_SECURITY_GROUP_ID | sg-asdasdasd | Security group to allow Manager members from |
| WORKER_SECURITY_GROUP_ID | sg-asdasdasd | Security group to allow Worker members from |
##### Example
```
docker run -d \
--name=meta-aws \
--restart=always \
-p $LOCAL_IP:9024:5000 \
-e AWS_REGION=$AWS_REGION \
-e MANAGER_SECURITY_GROUP_ID=$MANAGER_SECURITY_GROUP_ID \
-e WORKER_SECURITY_GROUP_ID=$WORKER_SECURITY_GROUP_ID \
-v /var/run/docker.sock:/var/run/docker.sock \
pecigonzalo/docker-meta-aws
```