forked from IOActive/laf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (42 loc) · 811 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (42 loc) · 811 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.0'
services:
tools:
build: .
volumes:
- .:/app
environment:
DB_HOST: db
DB_NAME: loraguard_db
DB_USERNAME: postgres
DB_PASSWORD: postgres
DB_PORT: 5432
ENVIRONMENT: DEV
networks:
- app
db:
image: postgres:10.1-alpine
restart: always
environment:
POSTGRES_DB: loraguard_db
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
volumes:
- data:/var/lib/postgresql/iotsecurity
networks:
- app
pgadmin4:
image: dpage/pgadmin4
environment:
- "PGADMIN_DEFAULT_EMAIL=pgadmin"
- "PGADMIN_DEFAULT_PASSWORD=pgadmin"
ports:
- "5001:80"
networks:
- app
volumes:
data:
networks:
app:
driver: "bridge"