This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
forked from briancaffey/cdk-fargate-patterns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
155 lines (153 loc) · 3.12 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
version: '3'
networks:
default:
services:
golang-order:
build:
context: ./golang/OrderService
dockerfile: Dockerfile
container_name: order
ports:
- 80:8080
environment:
- PRODUCT_SVC_URL=http://golang-product:8080
- CUSTOMER_SVC_URL=http://golang-customer:8080
- WAREHOUSE_SVC_URL=http://nginx-php:80/api.php
- serviceName=order
- versionNum=1.0
networks:
- default
golang-customer:
build:
context: ./golang/CommonService
dockerfile: Dockerfile
container_name: customer
ports:
- 8080:8080
environment:
- PRODUCT_SVC_URL=http://golang-product:8080
- CUSTOMER_SVC_URL=http://golang-customer:8080
- serviceName=customer
- versionNum=1.0
networks:
- default
golang-product:
build:
context: ./golang/CommonService
dockerfile: Dockerfile
container_name: product
ports:
- 9090:8080
environment:
- PRODUCT_SVC_URL=http://golang-product:8080
- CUSTOMER_SVC_URL=http://golang-customer:8080
- serviceName=product
- versionNum=1.0
networks:
- default
nginx:
image: 'nginx:latest'
container_name: nginx
ports:
- 9091:80
networks:
- default
nginx-php:
build:
context: ./nginx-php
dockerfile: Dockerfile
container_name: php
ports:
- 9092:80
environment:
- serviceName=warehouse
- versionNum=0.1
networks:
- default
nuxt:
build:
context: ./nuxt
dockerfile: Dockerfile
container_name: nuxt
ports:
- 9093:80
networks:
- default
node:
build:
context: ./node
dockerfile: Dockerfile
container_name: node
ports:
- 9094:80
networks:
- default
laravel-nginx-php-fpm:
build:
context: ./laravel-nginx-php-fpm
dockerfile: Dockerfile
container_name: laravel-nginx
ports:
- 9095:80
networks:
- default
laravel-bitnami:
build:
context: ./laravel-bitnami
dockerfile: Dockerfile
container_name: laravel-bitnami
ports:
- 9096:3000
networks:
- default
java:
build:
context: ./java-spring-boot
dockerfile: Dockerfile
container_name: java
ports:
- 9097:8080
networks:
- default
apache-php:
build:
context: ./apache-php
dockerfile: Dockerfile
container_name: apache-php
ports:
- 9098:80
networks:
- default
python-flask:
build:
context: ./python-flask
dockerfile: Dockerfile
container_name: flask
ports:
- 9099:80
networks:
- default
gorilla-mux:
build:
context: ./golang/gorilla-mux
dockerfile: Dockerfile
container_name: mux
ports:
- 9100:8080
environment:
- serviceName=mux
- versionNum=1.0
networks:
- default
go-grpc:
build:
context: ./golang/go-grpc
dockerfile: Dockerfile
container_name: go-grpc
ports:
- 50051:50051
environment:
- SERVER_PORT=50051
- AWS_EXECUTION_ENV=LocalDev
networks:
- default