-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
39 lines (36 loc) · 1.01 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
auth:
build: app-authentication/
entrypoint: go run /go/src/github.com/pottava/golang-microservices/app-authentication/main.go
ports:
- "8080:80"
environment:
- APP_SECURED_COOKIE=true
- APP_ACCESS_CONTROL_ALLOW_METHODS=GET
- APP_ACCESS_CONTROL_ALLOW_ORIGIN=?
- APP_TWITTER_CONSUMER_KEY
- APP_TWITTER_CONSUMER_SECRET
- APP_TWITTER_CONSUMER_CALLBACK
container_name: 'auth'
aws:
build: app-aws/
entrypoint: go run /go/src/github.com/pottava/golang-microservices/app-aws/main.go
environment:
- AWS_REGION
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
container_name: 'aws'
dbio:
build: app-dbio/
entrypoint: go run /go/src/github.com/pottava/golang-microservices/app-dbio/main.go
environment:
- AWS_REGION
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DYNAMODB_LOCAL
container_name: 'dbio'
web:
build: app-webui/
entrypoint: go run /go/src/github.com/pottava/golang-microservices/app-webui/main.go
ports:
- "80:80"
container_name: 'web'