-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
63 lines (59 loc) · 1.32 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
63 lines (59 loc) · 1.32 KB
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
63
services:
postgres-db:
image: postgres
restart: always
container_name: postgres-db
ports:
- '5432:5432'
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 10s
timeout: 5s
retries: 5
start_period: 5s
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=evora_event_db
networks:
- evora-network
pg-admin:
image: dpage/pgadmin4
restart: always
container_name: pg-admin
ports:
- '15432:80'
depends_on:
- postgres-db
environment:
- PGADMIN_DEFAULT_PASSWORD=admin
- PGADMIN_DEFAULT_EMAIL=admin@admin.com
networks:
- evora-network
mongo-db:
image: mongo:latest
restart: always
container_name: mongo-db
ports:
- '27018:27017'
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: password
MONGO_INITDB_DATABASE: evora_user_db
networks:
- evora-network
eureka-server:
build: ./eureka-server
container_name: eureka-server
ports:
- "8761:8761"
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8761" ]
interval: 10s
retries: 5
start_period: 10s
networks:
- evora-network
networks:
evora-network:
driver: bridge