-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 996 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 996 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
42
43
44
services:
local-postgres:
image: postgres:18
container_name: mindlog-postgres
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: 1234
POSTGRES_DB: mindLogDB
ports:
- "5432:5432"
platform: linux/arm64
dev-postgres:
image: postgres:18
container_name: mindlog-postgres
environment:
POSTGRES_USER: mindlog
POSTGRES_PASSWORD: mindlog_password
POSTGRES_DB: mindlog_dev
ports:
- "5432:5432"
platform: linux/arm64
redis:
image: valkey/valkey:8.1.6
container_name: mindlog-redis
ports:
- "6379:6379"
healthcheck:
test: [ "CMD", "valkey-cli", "ping" ]
interval: 10s
timeout: 3s
retries: 5
app:
build: .
container_name: mindlog-backend
ports:
- "8080:8080"
env_file:
- .env
network_mode: "host"
environment:
- SPRING_PROFILES_ACTIVE=dev