Go言語による マイクロサービスサンプル
Name | Container Name | Port (dev only) | Description |
---|---|---|---|
app-authentication | auth | 8080 | OAuth認証 |
app-aws | aws | (8081) | AWSリソース操作 API |
app-dbio | dbio | (8082) | データベースIO API |
app-webui | web | 80 | Web UI |
-
| dynamodb | | DynamoDB Local
AWS, Twitterでアプリ用 Credentialsを取得
https://apps.twitter.com/app/
export AWS_REGION=ap-northeast-1
export AWS_ACCESS_KEY_ID=?
export AWS_SECRET_ACCESS_KEY=?
export APP_TWITTER_CONSUMER_KEY=?
export APP_TWITTER_CONSUMER_SECRET=?
export APP_TWITTER_CONSUMER_CALLBACK=http://192.168.99.100:8080/twitter/callback
cd ~/src/github.com/pottava/golang-microservices
docker-compose --x-networking up -d
cd app-webui/
npm install
gulp