-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
51 lines (51 loc) · 1.2 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
version: "3.8"
services:
rangeconnectserver:
build: .
hostname: 'rangeconnectserver'
container_name: 'rangeconnectserver'
restart: always
depends_on:
postgres:
condition: service_healthy
environment:
- RABBITMQ_HOST=192.168.234.118
- RABBITMQ_USER=rangeconnect
- RABBITMQ_PASS=Uivq9ACXS49W
- DATABASE_HOST=postgres
- DATABASE_USER=rangeconnect
- DATABASE_PASS=rangeconnect
- DATABASE_DB=rangeconnect
networks:
- range-connect
postgres:
container_name: pg_container
image: postgres
restart: always
environment:
POSTGRES_USER: rangeconnect
POSTGRES_PASSWORD: rangeconnect
POSTGRES_DB: rangeconnect
ports:
- "5432:5432"
networks:
- range-connect
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
pgadmin:
container_name: pgadmin4_container
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: rangeconnect
ports:
- "5080:80"
networks:
- range-connect
networks:
range-connect:
driver: bridge