@ -12,6 +12,7 @@
// Note: "latest" is not recommended in production, as you can't be sure what version
// Note: "latest" is not recommended in production, as you can't be sure what version
// you're actually running, and must manually re-pull to get an updated copy.
// you're actually running, and must manually re-pull to get an updated copy.
image_tag:: std.extVar("tag"),
image_tag:: std.extVar("tag"),
database_tag:: "bb05e37", // tag for DB, which changes less and restarts are disruptive
// For each service, whether to deploy that service.
// For each service, whether to deploy that service.
enabled:: {
enabled:: {
@ -344,7 +345,7 @@
},
},
[if $.enabled.postgres then "postgres"]: {
[if $.enabled.postgres then "postgres"]: {
image: "quay.io/ekimekim/wubloader-postgres:%s" % $.imag e_tag,
image: "quay.io/ekimekim/wubloader-postgres:%s" % $.databas e_tag,
restart: "on-failure",
restart: "on-failure",
[if "postgres" in $.ports then "ports"]: ["%s:5432" % $.ports.postgres],
[if "postgres" in $.ports then "ports"]: ["%s:5432" % $.ports.postgres],
environment: $.env + {
environment: $.env + {