-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.minimal.yml
More file actions
62 lines (58 loc) · 1.52 KB
/
Copy pathdocker-compose.minimal.yml
File metadata and controls
62 lines (58 loc) · 1.52 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
services:
# PostgreSQL Database - Minimal configuration
postgres:
image: postgres:15-alpine
container_name: meshtastic-postgres-minimal
environment:
POSTGRES_DB: meshtastic_mapper
POSTGRES_USER: meshtastic
POSTGRES_PASSWORD: meshtastic_password
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- "5432:5432"
volumes:
- postgres_data_minimal:/var/lib/postgresql/data
networks:
- meshtastic-network
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U meshtastic -d meshtastic_mapper"]
interval: 10s
timeout: 5s
retries: 5
# Redis - Minimal configuration
redis:
image: redis:7-alpine
container_name: meshtastic-redis-minimal
ports:
- "6379:6379"
volumes:
- redis_data_minimal:/data
networks:
- meshtastic-network
restart: unless-stopped
command: redis-server --save 60 1 --loglevel warning
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
# Mosquitto MQTT Broker - Minimal configuration
mosquitto:
image: eclipse-mosquitto:2.0-alpine
container_name: meshtastic-mosquitto-minimal
ports:
- "1883:1883"
volumes:
- mosquitto_data_minimal:/mosquitto/data
networks:
- meshtastic-network
restart: unless-stopped
command: mosquitto -c /mosquitto-no-auth.conf
volumes:
postgres_data_minimal:
redis_data_minimal:
mosquitto_data_minimal:
networks:
meshtastic-network:
driver: bridge