@@ -24,7 +24,7 @@ services:
2424 - /proc/:/host/proc/:ro
2525 - /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
2626 frontend :
27- image : public.ecr.aws/x2b9z2t7/storedog/frontend:1.2.0
27+ image : public.ecr.aws/x2b9z2t7/storedog/frontend:1.2.2
2828 command : npm run dev
2929 depends_on :
3030 - worker
@@ -49,7 +49,7 @@ services:
4949 com.datadoghq.tags.version : ' ${DD_VERSION-7}'
5050 my.custom.label.team : ' frontend'
5151 nginx :
52- image : public.ecr.aws/x2b9z2t7/storedog/nginx:1.2.0
52+ image : public.ecr.aws/x2b9z2t7/storedog/nginx:1.2.2
5353 restart : always
5454 ports :
5555 - ' 80:80'
@@ -163,7 +163,7 @@ services:
163163 - ' postgres'
164164 - ' redis'
165165 - ' dd-agent'
166- image : public.ecr.aws/x2b9z2t7/storedog/backend:1.2.0
166+ image : public.ecr.aws/x2b9z2t7/storedog/backend:1.2.2
167167 command : wait-for-it postgres:5432 -- bundle exec rails s -b 0.0.0.0 -p 4000
168168 ports :
169169 - ' ${DOCKER_HOST_WEB_PORT:-4000}:4000'
@@ -193,7 +193,7 @@ services:
193193 com.datadoghq.tags.version : ' 1.0.9'
194194 my.custom.label.team : ' backend'
195195 worker :
196- image : public.ecr.aws/x2b9z2t7/storedog/backend:1.2.0
196+ image : public.ecr.aws/x2b9z2t7/storedog/backend:1.2.2
197197 command : wait-for-it postgres:5432 -- bundle exec sidekiq -C config/sidekiq.yml
198198 depends_on :
199199 - ' postgres'
@@ -224,7 +224,7 @@ services:
224224 com.datadoghq.tags.version : ' 1.0.9'
225225 my.custom.label.team : ' backend'
226226 discounts :
227- image : public.ecr.aws/x2b9z2t7/storedog/discounts:1.2.0
227+ image : public.ecr.aws/x2b9z2t7/storedog/discounts:1.2.2
228228 command : wait-for-it postgres:5432 -- ./my-wrapper-script.sh ${DISCOUNTS_PORT}
229229 depends_on :
230230 - postgres
@@ -254,7 +254,7 @@ services:
254254 com.datadoghq.tags.version : ' ${DD_VERSION-7}'
255255 my.custom.label.team : ' discounts'
256256 ads-java :
257- image : public.ecr.aws/x2b9z2t7/storedog/ads-java:1.2.0
257+ image : public.ecr.aws/x2b9z2t7/storedog/ads-java:1.2.2
258258 depends_on :
259259 - dd-agent
260260 environment :
@@ -274,6 +274,23 @@ services:
274274 com.datadoghq.tags.service : ' store-ads-java'
275275 com.datadoghq.tags.version : ' ${DD_VERSION-7}'
276276 my.custom.label.team : ' advertisements'
277+ puppeteer :
278+ image : ghcr.io/puppeteer/puppeteer:20.0.0
279+ platform : linux/amd64
280+ network_mode : host
281+ volumes :
282+ - ./services/puppeteer/puppeteer.js:/home/pptruser/puppeteer.js
283+ - ./services/puppeteer/puppeteer.sh:/home/pptruser/puppeteer.sh
284+ environment :
285+ - STOREDOG_URL=${STOREDOG_URL-http://localhost}
286+ - PUPPETEER_TIMEOUT
287+ - SKIP_SESSION_CLOSE
288+ depends_on :
289+ - frontend
290+ command : bash puppeteer.sh
291+ shm_size : ' 4gb' # Increase shared memory size
292+ cap_add :
293+ - ' SYS_ADMIN' # Required for Puppeteer to run in Docker
277294
278295volumes :
279296 redis :
0 commit comments