Skip to content

Commit

Permalink
Release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
niallthomson authored and github-actions[bot] committed Apr 16, 2023
1 parent 11c038a commit 6157950
Show file tree
Hide file tree
Showing 9 changed files with 1,418 additions and 827 deletions.
2 changes: 1 addition & 1 deletion deploy/kubernetes/charts/assets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: public.ecr.aws/aws-containers/retail-store-sample-assets
pullPolicy: IfNotPresent
tag: 0.2.0
tag: 0.3.0

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/charts/carts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: public.ecr.aws/aws-containers/retail-store-sample-cart
pullPolicy: IfNotPresent
tag: 0.2.0
tag: 0.3.0

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/charts/catalog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: public.ecr.aws/aws-containers/retail-store-sample-catalog
pullPolicy: IfNotPresent
tag: 0.2.0
tag: 0.3.0

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/charts/checkout/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: public.ecr.aws/aws-containers/retail-store-sample-checkout
pullPolicy: IfNotPresent
tag: 0.2.0
tag: 0.3.0

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/charts/orders/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: public.ecr.aws/aws-containers/retail-store-sample-orders
pullPolicy: IfNotPresent
tag: 0.2.0
tag: 0.3.0

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/charts/ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: public.ecr.aws/aws-containers/retail-store-sample-ui
pullPolicy: IfNotPresent
tag: 0.2.0
tag: 0.3.0

imagePullSecrets: []
nameOverride: ""
Expand Down
4 changes: 2 additions & 2 deletions deploy/terraform/lib/images/generated.tf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"locals": {
"published_tag": "0.2.0",
"published_tag": "0.3.0",
"published_repository": "public.ecr.aws/aws-containers"
}
}
}
33 changes: 9 additions & 24 deletions dist/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

version: '2'

services:
ui:
ports:
- 8888:8080
- 8888:8080
environment:
- JAVA_OPTS=-XX:MaxRAMPercentage=75.0 -Djava.security.egd=file:/dev/urandom
- SERVER_TOMCAT_ACCESSLOG_ENABLED=true
Expand All @@ -29,23 +28,21 @@ services:
- ENDPOINTS_CHECKOUT=http://checkout:8080
- ENDPOINTS_ASSETS=http://assets:8080
hostname: ui
image: public.ecr.aws/aws-containers/retail-store-sample-ui:0.2.0
image: public.ecr.aws/aws-containers/retail-store-sample-ui:0.3.0
restart: always
mem_limit: 256m
cap_drop:
- ALL

catalog:
hostname: catalog
image: public.ecr.aws/aws-containers/retail-store-sample-catalog:0.2.0
image: public.ecr.aws/aws-containers/retail-store-sample-catalog:0.3.0
restart: always
environment:
- GIN_MODE=release
- DB_PASSWORD=${MYSQL_PASSWORD}
mem_limit: 128m
cap_drop:
- ALL

catalog-db:
image: mariadb:10.9
hostname: catalog-db
Expand All @@ -57,10 +54,9 @@ services:
- MYSQL_USER=catalog_user
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
mem_limit: 128m

carts:
hostname: carts
image: public.ecr.aws/aws-containers/retail-store-sample-cart:0.2.0
image: public.ecr.aws/aws-containers/retail-store-sample-cart:0.3.0
restart: always
environment:
- JAVA_OPTS=-XX:MaxRAMPercentage=75.0 -Djava.security.egd=file:/dev/urandom
Expand All @@ -73,19 +69,15 @@ services:
mem_limit: 256m
cap_drop:
- ALL

carts-db:
image: amazon/dynamodb-local:1.20.0
hostname: carts-db
restart: always
mem_limit: 128m

mem_limit: 256m
orders:
hostname: orders
image: public.ecr.aws/aws-containers/retail-store-sample-orders:0.2.0
image: public.ecr.aws/aws-containers/retail-store-sample-orders:0.3.0
restart: always
ports:
- 8083:8080
environment:
- JAVA_OPTS=-XX:MaxRAMPercentage=75.0 -Djava.security.egd=file:/dev/urandom
- SERVER_TOMCAT_ACCESSLOG_ENABLED=true
Expand All @@ -100,7 +92,6 @@ services:
mem_limit: 256m
cap_drop:
- ALL

orders-db:
image: mariadb:10.9
hostname: orders-db
Expand All @@ -112,41 +103,35 @@ services:
- MYSQL_USER=orders_user
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
mem_limit: 128m

checkout:
image: public.ecr.aws/aws-containers/retail-store-sample-checkout:0.2.0
image: public.ecr.aws/aws-containers/retail-store-sample-checkout:0.3.0
hostname: checkout
restart: always
read_only: true
tmpfs:
- /tmp:rw,noexec,nosuid
ports:
- 8084:8080
environment:
- REDIS_URL=redis://checkout-redis:6379
- ENDPOINTS_ORDERS=http://orders:8080
mem_limit: 256m
cap_drop:
- ALL

checkout-redis:
image: redis:6-alpine
hostname: checkout-redis
restart: always
mem_limit: 128m

assets:
hostname: assets
environment:
- PORT=8080
image: public.ecr.aws/aws-containers/retail-store-sample-assets:0.2.0
image: public.ecr.aws/aws-containers/retail-store-sample-assets:0.3.0
restart: always
mem_limit: 64m
cap_drop:
- ALL

rabbitmq:
image: rabbitmq:3-management
ports:
- "5672:5672"
- "15672:15672"
- "15672:15672"
Loading

0 comments on commit 6157950

Please sign in to comment.