-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
62 lines (58 loc) · 1.49 KB
/
docker-compose.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
services:
redis:
image: redis/redis-stack:latest
container_name: redis
ports:
- "6379:6379"
- "8001:8001"
postgres-admin:
image: dpage/pgadmin4:8
container_name: postgres-admin
ports:
- "2345:2345"
environment:
- PGADMIN_DEFAULT_EMAIL=admin@ok.nvm
- PGADMIN_DEFAULT_PASSWORD=123
- PGADMIN_LISTEN_ADDRESS=0.0.0.0
- PGADMIN_LISTEN_PORT=2345
- PGADMIN_CONFIG_LOGIN_BANNER="Postgres Admin dashboard for Hyperbloom"
postgres:
image: postgres:16
container_name: postgres
ports:
- "5432:5432"
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=123
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "postgres"]
interval: 5s
timeout: 5s
retries: 3
# hyperbloom-postgres:
# image: postgres:16
# container_name: hyperbloom-postgres
# ports:
# - "5432:5432"
# environment:
# - POSTGRES_USER=admin
# - POSTGRES_PASSWORD=123
# healthcheck:
# test: ["CMD-SHELL", "pg_isready", "-d", "postgres"]
# interval: 5s
# timeout: 5s
# retries: 3
# hyperbloom:
# image: gopds/hyperbloom:1.0
# container_name: hyperbloom
# depends_on:
# hyperbloom-postgres:
# condition: service_healthy
# build:
# context: hyperbloom
# ports:
# - "5000:5000"
# env_file:
# - ./hyperbloom/.env.example
# environment:
# - DB_HOST=hyperbloom-postgres # For container communication