File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : " 3.7"
2
+ services :
3
+ pixel_watcher :
4
+ image : registry.generalprogramming.org/placedump:latest
5
+ build : .
6
+ env_file : .env
7
+ networks :
8
+ - internal
9
+ logging :
10
+ driver : loki
11
+ options :
12
+ loki-url : " http://loki.service.fmt2.consul:3100/loki/api/v1/push"
13
+ restart : always
14
+ deploy :
15
+ mode : global
16
+ restart_policy :
17
+ condition : on-failure
18
+ command : " python pixel_watcher.py"
19
+ celery :
20
+ image : registry.generalprogramming.org/placedump:latest
21
+ build : .
22
+ env_file : .env
23
+ networks :
24
+ - internal
25
+ logging :
26
+ driver : loki
27
+ options :
28
+ loki-url : " http://loki.service.fmt2.consul:3100/loki/api/v1/push"
29
+ restart : always
30
+ deploy :
31
+ restart_policy :
32
+ condition : on-failure
33
+ replicas : 4
34
+ command : " celery -A placedump.tasks worker -l INFO --autoscale 24,2"
35
+ networks :
36
+ publicweb :
37
+ driver : overlay
38
+ external : true
39
+ internal :
You can’t perform that action at this time.
0 commit comments