From 519f331d68eda7ba4acb5e4ec343922ade5b9e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=A7=D9=85=DB=8C=D8=B1=D8=AD=D8=B3=DB=8C=D9=86=20=D9=85?= =?UTF-8?q?=D9=82=DB=8C=D8=B3=D9=87?= Date: Mon, 28 Feb 2022 12:50:49 +0330 Subject: [PATCH] sync --- stacks/lvl5/posthog/stack.yml | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 stacks/lvl5/posthog/stack.yml diff --git a/stacks/lvl5/posthog/stack.yml b/stacks/lvl5/posthog/stack.yml new file mode 100644 index 0000000..ab60d3f --- /dev/null +++ b/stacks/lvl5/posthog/stack.yml @@ -0,0 +1,40 @@ +version: "3.7" + +networks: + mother: + external: true + +services: + posthog: + image: + environment: + - DATABASE_URL=postgres + - IS_BEHIND_PROXY=true + - SITE_URL=wizard.of.galaxy.igarson.app + - SECRET_KEY=JPpsyIuXjZr/sHmzgXl+L8DvSwLcW6asNsiEYyyXuJo= + - TRUST_ALL_PROXIES=true + deploy: + update_config: + parallelism: 1 + delay: 10s + order: stop-first + restart_policy: + condition: any + delay: 5s + window: 120s + resources: + limits: + cpus: '1' + memory: 500m + replicas: 1 + mode: replicated + placement: + constraints: + - node.role == worker + volumes: + - /etc/localtime:/etc/localtime:ro + - /volume/poste/data:/data + ports: + - 9095:80 + networks: + - mother \ No newline at end of file