blob: a9b5dfbd50b1866b4f55c2a277c853d329aeda45 (
plain) (
blame)
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
|
version: "3.9"
services:
sms-webhook:
image: sms-webhook
build:
context: .
deploy:
resources:
limits:
memory: 256M
logging:
driver: "json-file"
options:
max-size: "100m"
networks:
- smsnet
restart: unless-stopped
ports:
- "127.0.0.1:8090:8090"
depends_on:
- redis
# volumes:
# - /etc/letsencrypt/live/sms.terminaldweller.com/fullchain.pem:/etc/letsencrypt/live/sms.terminaldweller.com/fullchain.pem
# - /etc/letsencrypt/live/sms.terminaldweller.com/privkey.pem:/etc/letsencrypt/live/sms.terminaldweller.com/privkey.pem
cap_drop:
- ALL
environment:
- SERVER_DEPLOYMENT_TYPE=deployment
entrypoint: ["/sms-webhook/sms-webhook"]
command: ["serve", "--http=0.0.0.0:8090"]
volumes:
- pb-vault:/sms-webhook/pb_data
redis:
image: redis:7.2.3-alpine3.18
deploy:
resources:
limits:
memory: 128M
logging:
driver: "json-file"
options:
max-size: "100m"
networks:
- smsnet
restart: unless-stopped
ports:
- "127.0.0.1:6379:6379"
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- sms-vault:/data/
networks:
smsnet:
driver: bridge
volumes:
sms-vault:
pb-vault:
|