-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.production.yml
52 lines (47 loc) · 1.24 KB
/
docker-compose.production.yml
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
# SPDX-FileCopyrightText: 2020-2024 Technostructures
# SPDX-License-Identifier: AGPL-3.0-only
version: '3.7'
volumes:
postgres_files:
services:
kazarma:
image: registry.gitlab.com/technostructures/kazarma/kazarma:${KAZARMA_VERSION:-latest}
# ports:
# - "4000:4000"
environment:
- DATABASE_HOST=postgres
- DATABASE_DB=kazarma
- DATABASE_USERNAME=kazarma
- DATABASE_PASSWORD=${DATABASE_PASSWORD}
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
- HOMESERVER_TOKEN=${HOMESERVER_TOKEN}
- ACCESS_TOKEN=${ACCESS_TOKEN}
- MATRIX_URL=${MATRIX_URL}
- HOST=${HOST}
- ACTIVITY_PUB_DOMAIN=${ACTIVITY_PUB_DOMAIN}
- PUPPET_PREFIX
- BRIDGE_REMOTE
- HTML_SEARCH
- HTML_AP
- LOG_LEVEL
- RELEASE_LEVEL
- SENTRY_ENABLED
- SENTRY_DSN
- LOKI_ENABLED
- LOKI_HOST
- LOKI_ORG_ID
- METRICS_ENABLED
- METRICS_PORT
- GRAFANA_ENABLED
- GRAFANA_HOST
- GRAFANA_TOKEN
depends_on:
- postgres
postgres:
image: postgres:15-alpine
environment:
- POSTGRES_USER=kazarma
- POSTGRES_DB=kazarma
- POSTGRES_PASSWORD=$DATABASE_PASSWORD
volumes:
- postgres_files:/var/lib/postgresql/data