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 c82a8d9 commit 6f83f07Copy full SHA for 6f83f07
Makefile
@@ -96,6 +96,9 @@ in-container/gunicorn:
96
in-container/bot:
97
$(MANAGE) run_bot
98
99
+in-container/worker:
100
+ $(MANAGE) db_worker -v 2
101
+
102
in-container/migrate:
103
$(MANAGE) migrate
104
deploy/templates/app/docker-compose.app.yml.j2
@@ -42,6 +42,19 @@ services:
42
condition: service_healthy
43
restart: true
44
45
+ worker:
46
+ image: "intbot:{{ app_version }}"
47
+ command: "make in-container/worker"
48
+ env_file:
49
+ - intbot.env
50
+ environment:
51
+ - APP_VERSION={{ app_version[:8] }}
52
+ depends_on:
53
+ db:
54
+ condition: service_healthy
55
+ restart: true
56
57
58
volumes:
59
pgdata:
60
0 commit comments