-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 887 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (39 loc) · 887 Bytes
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
services:
meshtastic_listener:
depends_on:
listener_db:
condition: service_healthy
image: michaelgillett/meshtastic-listener:main
volumes:
- ./logs:/home/meshtastic/logs
container_name: meshtastic_listener
user: "1000:1000"
env_file:
- .env
restart: unless-stopped
listener_db:
image: postgres:latest
container_name: listener_db
expose:
- 5432:5432
shm_size: 256mb
volumes:
- ./db:/var/lib/postgresql
env_file:
- .env
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "db_prod"]
interval: 30s
timeout: 60s
retries: 5
start_period: 80s
restart: unless-stopped
adminer:
image: adminer
container_name: adminer
depends_on:
listener_db:
condition: service_healthy
restart: unless-stopped
ports:
- 8080:8080