-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
99 lines (90 loc) · 2.46 KB
/
docker-compose.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
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
89
90
91
92
93
94
95
96
97
98
99
---
version: "3"
services:
sip:
image: ghcr.io/vanegmondgroep/sip:2.0.1
restart: always
ports:
- "${APP_HTTP_PORT:-80}:80"
- "${APP_HTTPS_PORT:-443}:443"
volumes:
- "sip:/home/runtime/public/storage"
- "./.env:/home/runtime/public/.env"
- "./runtime.yml:/opt/runtime/config/runtime.yml:ro"
- "./data:/opt/stack/data"
depends_on:
mysql:
condition: service_healthy
redis:
condition: service_started
mysql:
image: "docker.io/bitnami/mariadb:10.5"
restart: always
environment:
MARIADB_ROOT_PASSWORD: "${DB_PASSWORD:-supersecret}"
MARIADB_DATABASE: "${DB_DATABASE:-sip}"
MARIADB_USER: "${DB_USERNAME:-vanegmond}"
MARIADB_PASSWORD: "${DB_PASSWORD:-secret}"
volumes:
- "mysql:/bitnami/mariadb"
- "./data:/opt/stack/data"
healthcheck:
test: ['CMD', '/opt/bitnami/scripts/mariadb/healthcheck.sh']
interval: 5s
timeout: 5s
retries: 6
redis:
image: "docker.io/bitnami/redis:6.2"
restart: always
environment:
ALLOW_EMPTY_PASSWORD: "yes"
# Proxy not posible yet: https://github.com/influxdata/influxdb/issues/15721
influxdb:
image: "influxdb:2.0.4"
restart: always
ports:
- ${APP_INFLUXDB_PORT:-8086}:8086
environment:
DOCKER_INFLUXDB_INIT_MODE: 'setup'
DOCKER_INFLUXDB_INIT_ORG: ${INFLUXDB_ORG:?}
DOCKER_INFLUXDB_INIT_BUCKET: ${INFLUXDB_BUCKET:?}
DOCKER_INFLUXDB_INIT_USERNAME: ${INFLUXDB_USERNAME:?}
DOCKER_INFLUXDB_INIT_PASSWORD: ${INFLUXDB_PASSWORD:?}
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: ${INFLUXDB_TOKEN:?}
volumes:
- "influxdb:/var/lib/influxdb2"
- "./data:/opt/stack/data"
- "./config:/opt/stack/config"
grafana:
image: "ghcr.io/vanegmondgroep/grafana:1.0.0"
restart: always
volumes:
- "grafana:/var/lib/grafana/data"
- "./data:/opt/stack/data"
node-red:
image: ghcr.io/vanegmondgroep/node-red:1.0.0
restart: always
volumes:
- "node-red:/data"
- "./data:/opt/stack/data"
phpmyadmin:
image: "docker.io/bitnami/phpmyadmin:5"
restart: always
environment:
DATABASE_HOST: mysql
PHP_UPLOAD_MAX_FILESIZE: 2G
PHPMYADMIN_ABSOLUTE_URI: "/svc/phpmyadmin/"
mailhog:
image: "mailhog/mailhog:latest"
restart: always
volumes:
sip:
driver: local
mysql:
driver: local
influxdb:
driver: local
grafana:
driver: local
node-red:
driver: local