-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
36 lines (35 loc) · 736 Bytes
/
compose.yml
File metadata and controls
36 lines (35 loc) · 736 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
services:
postgres:
image: postgres:14-alpine
env_file: .env
hostname: postgres
ports:
- 127.0.0.1:5433:5432
volumes:
- ./data/postgres:/var/lib/postgresql/data
networks:
- bothi-network
healthcheck:
test: ["CMD", "pg_isready", "-h", "postgres", "-U", "postgres"]
interval: 1s
timeout: 10s
retries: 3
web:
build:
context: web
#image: ghcr.io/t0ha/midas-web:latest
image: bothi
env_file: .env
hostname: web
depends_on:
postgres:
condition: service_healthy
ports:
- 127.0.0.1:4000:4000
#volumes:
# - ./python:/opt
networks:
- bothi-network
networks:
bothi-network:
driver: bridge