Skip to content

Commit 5987c1e

Browse files
chore: updated the container registry in the docker-compose-integration.yaml
1 parent 21b58bc commit 5987c1e

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/sonarcloud.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ jobs:
2424
echo $TRACER_PATH
2525
mkdir coverage
2626
27+
sudo apt-get -y install podman
28+
pip3 install podman-compose
29+
2730
echo "Starting Couchbase"
28-
docker compose -f docker-compose-integration.yaml up -d
31+
podman compose -f docker-compose-integration.yaml up -d
2932
3033
echo "Starting Postgres"
3134
sudo systemctl start postgresql.service

docker-compose-integration.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,24 @@ version: '3'
33
services:
44

55
couchbase:
6-
image: couchbase/server:7.1.4
6+
image: public.ecr.aws/docker/library/couchbase:7.6.5
77
hostname: couchbase
88
ports:
99
- '8091-8096:8091-8096'
1010
- '11210:11210'
1111

1212
couchbase-setup:
13-
image: amd64/centos:7
14-
platform: linux/amd64
13+
image: public.ecr.aws/docker/library/alpine:3.21.2
1514
depends_on:
1615
- couchbase
1716
restart: "no"
1817
entrypoint:
19-
- "bash"
18+
- "sh"
2019
- "-ecx"
2120
- |
21+
# Install curl
22+
apk fix && apk --no-cache --update add curl && rm -rf /var/cache/apk/* \
23+
# Run setup commands
2224
sleep 30 && \
2325
curl -v -X POST http://couchbase:8091/pools/default -d memoryQuota=2024 -d indexMemoryQuota=512 && \
2426
curl -v http://couchbase:8091/node/controller/setupServices -d services=kv%2Ceventing%2Cindex%2Cn1ql%2Ccbas%2Cfts && \

0 commit comments

Comments
 (0)