-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (39 loc) · 813 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (39 loc) · 813 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
version: '3.5'
services:
database:
container_name: das-postgres
image: postgres
ports:
- 35432:5432
environment:
- POSTGRES_USER=pedidos
- POSTGRES_PASSWORD=pedidos123
- POSTGRES_DB=pedidos
restart: unless-stopped
pgadmin:
container_name: das-pgadmin
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: root
ports:
- 5050:80
restart: unless-stopped
depends_on:
- database
api:
container_name: das-api
build: ./backend/
image: das-angular/api
ports:
- 8090:8090
depends_on:
- database
web:
container_name: das-web
build: ./frontend/
image: das-angular/web
ports:
- 4200:80
depends_on:
- api