-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnap.yaml
74 lines (66 loc) · 1.39 KB
/
snap.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
apps:
gunicorn:
user: paperless
command: bin/service.gunicorn.sh
daemon: simple
plugs:
- network
- network-bind
restart-condition: always
consumer:
user: paperless
command: bin/service.consumer.sh
daemon: simple
plugs:
- network
- network-bind
restart-condition: always
celery:
user: paperless
command: bin/service.celery.sh
daemon: simple
plugs:
- network
- network-bind
restart-condition: always
celery-beat:
user: paperless
command: bin/service.celery-beat.sh
daemon: simple
plugs:
- network
- network-bind
restart-condition: always
postgresql:
user: paperless
command: bin/service.postgresql.sh
daemon: forking
plugs:
- network
- network-bind
restart-condition: always
redis:
user: paperless
daemon: simple
command: bin/service.redis.sh
restart-condition: always
before: [celery]
psql:
command: bin/psql.sh
pgdumpall:
command: bin/pg_dumpall.sh
storage-change:
command: bin/cli storage-change
access-change:
command: bin/cli access-change
backup-pre-stop:
command: bin/cli backup-pre-stop
restore-pre-start:
command: bin/cli restore-pre-start
restore-post-start:
command: bin/cli restore-post-start
confinement: strict
description: Paperless
grade: stable
name: paperless
summary: paperless