File tree 3 files changed +14
-6
lines changed
3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 41
41
gorc download
42
42
gorc version
43
43
44
+ sudo apt-get -y install podman
45
+ pip3 install podman-compose
46
+
44
47
echo "Starting Couchbase"
45
- docker compose -f docker-compose-integration.yaml up -d
48
+ podman- compose -f docker-compose-integration.yaml up -d
46
49
echo "Starting Postgres"
47
50
sudo systemctl start postgresql.service
48
51
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'mysecretpassword'"
Original file line number Diff line number Diff line change 24
24
echo $TRACER_PATH
25
25
mkdir coverage
26
26
27
+ sudo apt-get -y install podman
28
+ pip3 install podman-compose
29
+
27
30
echo "Starting Couchbase"
28
- docker compose -f docker-compose-integration.yaml up -d
31
+ podman- compose -f docker-compose-integration.yaml up -d
29
32
30
33
echo "Starting Postgres"
31
34
sudo systemctl start postgresql.service
Original file line number Diff line number Diff line change @@ -3,22 +3,24 @@ version: '3'
3
3
services :
4
4
5
5
couchbase :
6
- image : couchbase/server :7.1.4
6
+ image : public.ecr.aws/docker/library/couchbase :7.6.5
7
7
hostname : couchbase
8
8
ports :
9
9
- ' 8091-8096:8091-8096'
10
10
- ' 11210:11210'
11
11
12
12
couchbase-setup :
13
- image : amd64/centos:7
14
- platform : linux/amd64
13
+ image : public.ecr.aws/docker/library/alpine:3.21.2
15
14
depends_on :
16
15
- couchbase
17
16
restart : " no"
18
17
entrypoint :
19
- - " bash "
18
+ - " sh "
20
19
- " -ecx"
21
20
- |
21
+ # Install curl
22
+ apk fix && apk --no-cache --update add curl && rm -rf /var/cache/apk/* \
23
+ # Run setup commands
22
24
sleep 30 && \
23
25
curl -v -X POST http://couchbase:8091/pools/default -d memoryQuota=2024 -d indexMemoryQuota=512 && \
24
26
curl -v http://couchbase:8091/node/controller/setupServices -d services=kv%2Ceventing%2Cindex%2Cn1ql%2Ccbas%2Cfts && \
You can’t perform that action at this time.
0 commit comments