Skip to content

Commit 6be1ed4

Browse files
Fix discount port mapping (#30)
* override discounts start cmd * update command for deploy compose
1 parent 63bbcec commit 6be1ed4

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

deploy/docker-compose/docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222
networks:
2323
- storedog-net
2424
web:
25-
image: public.ecr.aws/x2b9z2t7/storedog/backend:1.0.4
25+
image: public.ecr.aws/x2b9z2t7/storedog/backend:1.0.7
2626
depends_on:
2727
- 'postgres'
2828
- 'redis'
@@ -38,7 +38,7 @@ services:
3838
networks:
3939
- storedog-net
4040
worker:
41-
image: public.ecr.aws/x2b9z2t7/storedog/backend:1.0.4
41+
image: public.ecr.aws/x2b9z2t7/storedog/backend:1.0.7
4242
command: bundle exec sidekiq -C config/sidekiq.yml
4343
depends_on:
4444
- 'postgres'
@@ -54,7 +54,7 @@ services:
5454
networks:
5555
- storedog-net
5656
ads:
57-
image: public.ecr.aws/x2b9z2t7/storedog/ads:1.0.4
57+
image: public.ecr.aws/x2b9z2t7/storedog/ads:1.0.7
5858
command: flask run --port=${ADS_PORT} --host=0.0.0.0
5959
depends_on:
6060
- postgres
@@ -74,8 +74,8 @@ services:
7474
networks:
7575
- storedog-net
7676
discounts:
77-
image: public.ecr.aws/x2b9z2t7/storedog/discounts:1.0.4
78-
command: flask run --port=${DISCOUNTS_PORT} --host=0.0.0.0
77+
image: public.ecr.aws/x2b9z2t7/storedog/discounts:1.0.7
78+
command: ./my-wrapper-script.sh ${DISCOUNTS_PORT}
7979
depends_on:
8080
- postgres
8181
environment:

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ services:
103103
- DD_APPSEC_ENABLED=true
104104
build:
105105
context: ./services/discounts
106+
command: ./my-wrapper-script.sh ${DISCOUNTS_PORT}
106107
volumes:
107108
- ./services/discounts:/app
108109
ports:

0 commit comments

Comments
 (0)