File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed 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
18
- " bash"
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