-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
47 lines (43 loc) · 925 Bytes
/
docker-compose.yaml
File metadata and controls
47 lines (43 loc) · 925 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
45
46
47
services:
server:
build: .
image: modgy/modgy-back:latest
container_name: pethotel_server
ports:
- "8080:8080"
restart: unless-stopped
env_file:
- .env
depends_on:
db:
condition: service_healthy
db:
image: postgres:17-alpine3.20
container_name: pethotel_db
ports:
- "6541:5432"
restart: unless-stopped
env_file:
- .env
volumes:
- modgy_postgres_data:/var/lib/postgresql/data/
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U admin -d pethotel"]
interval: 5s
timeout: 5s
retries: 5
minio:
container_name: minio
image: minio/minio
ports:
- "9000:9000"
- "9001:9001"
restart: unless-stopped
env_file:
- .env
volumes:
- modgy_minio_data:/data
command: server /data --console-address ":9001"
volumes:
modgy_postgres_data:
modgy_minio_data: