-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (34 loc) · 771 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (34 loc) · 771 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
services:
postgres:
image: postgis/postgis:18-3.6-alpine
platform: linux/amd64
container_name: ts-mapped-postgres
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
POSTGRES_DB: "postgres"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
ports:
- "5444:5432"
volumes:
- pgdata:/var/lib/postgresql
redis:
image: redis:7
container_name: ts-mapped-redis
ports:
- "6380:6379"
mailpit:
image: axllent/mailpit
container_name: ts-mapped-mailpit
ports:
- "1025:1025" # SMTP port
- "8025:8025" # Web UI port
volumes:
- mailpit_data:/data
volumes:
pgdata:
mailpit_data: