-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 913 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 913 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
version: '3.7'
services:
app:
env_file:
- .env
container_name: event-hunters_container
build:
context: .
ports:
- 8080:8080
environment:
- DB_HOST=${DB_DOCKER_HOST}
depends_on:
- postgres
networks:
- event-hunters
postgres:
image: postgres
container_name: postgres-event-hunters
environment:
- POSTGRES_USER=${DB_USERNAME}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=${DB_NAME}
ports:
- 5432:5432
networks:
- event-hunters
command: postgres -c listen_addresses='*'
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin4-event-hunters
environment:
- PGADMIN_DEFAULT_EMAIL=jonathanputra134@gmail.com
- PGADMIN_DEFAULT_PASSWORD=Berserker134
ports:
- "5050:80"
networks:
- event-hunters
networks:
event-hunters: