-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yml
More file actions
88 lines (84 loc) · 2.13 KB
/
Copy pathcompose.yml
File metadata and controls
88 lines (84 loc) · 2.13 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
services:
website:
build:
context: .
dockerfile: ./packages/website/Dockerfile
args:
- PUBLIC_REMARK_URL=${PUBLIC_REMARK_URL}
- PUBLIC_SITE=${PUBLIC_SITE}
container_name: "website"
expose:
- "80"
networks:
- billyle
env_file:
- .env
healthcheck:
test: ["CMD-SHELL", "nc -z localhost 80 || exit 1"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
restart: always
email:
build:
context: .
dockerfile: ./packages/email/Dockerfile
args:
- RESEND_API_KEY=${RESEND_API_KEY}
- ALLOWED_ORIGIN=${ALLOWED_ORIGIN}
- EMAIL_SERVER_PORT=${EMAIL_SERVER_PORT}
- EMAIL_TO=${EMAIL_TO}
container_name: "email"
expose:
- "${EMAIL_SERVER_PORT}"
networks:
- billyle
env_file:
- .env
restart: always
healthcheck:
test: ["CMD", "bun", "--eval", "fetch('http://localhost:3000/ping').then(r => r.ok ? process.exit(0) : process.exit(1)).catch(() => process.exit(1))"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
remark42:
image: umputun/remark42:latest
container_name: remark42
hostname: remark42
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
ports:
- "8081:8080"
networks:
- billyle
env_file:
- .env
environment:
- REMARK_URL=${PUBLIC_REMARK_URL}
- SITE=${PUBLIC_SITE}
- SECRET=${REMARK_SECRET}
- ADMIN_SHARED_ID=${ADMIN_SHARED_ID}
- AUTH_GOOGLE_CID=${AUTH_GOOGLE_CID}
- AUTH_GOOGLE_CSEC=${AUTH_GOOGLE_CSEC}
- AUTH_GITHUB_CID=${AUTH_GITHUB_CID}
- AUTH_GITHUB_CSEC=${AUTH_GITHUB_CSEC}
- AUTH_TELEGRAM=true
- SENTRY_ORG=billy-gr
- SENTRY_PROJECT=javascript-astro
- SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}
- NOTIFY_ADMINS=telegram
- TELEGRAM_TOKEN=${TELEGRAM_TOKEN}
- NOTIFY_TELEGRAM_CHAN=${NOTIFY_TELEGRAM_CHAN}
- ALLOWED_HOSTS=${REMARK_ALLOWED_HOSTS}
volumes:
- remark42:/srv/var
networks:
billyle:
volumes:
remark42: