We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f02c6 commit 950c551Copy full SHA for 950c551
Dockerfile
@@ -44,7 +44,7 @@ ENV MONGO_SECONDARY_CATCHUP_PERIOD 8
44
ENV MONGO_STEPDOWN_TIME 60
45
ENV MONGO_ELECTION_TIMEOUT 30
46
47
-# configure ContainerPilot and MySQL
+# Configure ContainerPilot and Mongo
48
COPY etc/* /etc/
49
COPY bin/* /usr/local/bin/
50
etc/containerpilot.json5
@@ -26,13 +26,12 @@
26
restarts: "unlimited"
27
},
28
{{ end }}
29
- {{ if .DUMP }}
+ {{ if .DUMP_INTERVAL }}
30
{
31
name: "backup",
32
exec: "python /usr/local/bin/manage.py backup",
33
- restartLimit: 0,
34
when: {
35
- interval: "6h",
+ interval: "{{ .DUMP_INTERVAL }}",
36
}
37
38
0 commit comments