Skip to content

Commit c349d9f

Browse files
committed
[docker] Minor fixes: single-instance mongodb label & grunt on both images
1 parent 499a876 commit c349d9f

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

bin/docker/k8s/countly-frontend.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ spec:
4848
path: /ping
4949
port: 6001
5050
initialDelaySeconds: 60
51-
periodSeconds: 5
51+
periodSeconds: 10
52+
timeoutSeconds: 3
5253
env:
5354
- name: COUNTLY_PLUGINS
5455
value: "mobile,web,desktop,plugins,density,locale,browser,sources,views,enterpriseinfo,logger,systemlogs,errorlogs,populator,reports,crashes,push,star-rating,slipping-away-users,compare,server-stats,dbviewer,assistant,plugin-upload,times-of-day,compliance-hub,video-intelligence-monetization,alerts,onboarding"

bin/docker/k8s/mongo/mongo-single.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
targetPort: 27017
2222
clusterIP: None
2323
selector:
24-
role: mongo
24+
app: mongo
2525

2626
---
2727

@@ -35,7 +35,7 @@ spec:
3535
template:
3636
metadata:
3737
labels:
38-
role: mongo
38+
app: mongo
3939
spec:
4040
terminationGracePeriodSeconds: 10
4141
containers:

bin/docker/postinstall.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ else
2424
echo "[docker] Done installing ${plugin}."
2525
done <<< "$a"
2626

27-
if [ "$COUNTLY_CONTAINER" == "frontend" ]; then
28-
(cd /opt/countly && npx grunt dist-all)
29-
fi
27+
(cd /opt/countly && npx grunt dist-all)
3028

3129
fi

0 commit comments

Comments
 (0)