-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDocker-compose.yml
More file actions
78 lines (72 loc) · 1.47 KB
/
Copy pathDocker-compose.yml
File metadata and controls
78 lines (72 loc) · 1.47 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: '3.8'
services:
postgres:
image: postgres:13
container_name: postgres_project2
environment:
- POSTGRES_DB=my_store
- POSTGRES_USER=miguel
- POSTGRES_PASSWORD=admin123
ports:
- 5433:5432
volumes:
- ./Backend/postgres_data_2:/var/lib/postgresql/data
networks:
- app-network
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin_project2
environment:
- PGADMIN_DEFAULT_EMAIL=admin@mail.com
- PGADMIN_DEFAULT_PASSWORD=root
ports:
- 5050:80
depends_on:
- postgres
networks:
- app-network
backend:
build: ./Backend
container_name: dropshipping-backend
restart: always
ports:
- "3005:3005"
depends_on:
- postgres
environment:
DB_HOST: postgres
DB_PORT: 5432
DB_USER: miguel
DB_PASSWORD: admin123
DB_NAME: my_store
PORT: 3005
networks:
- app-network
frontend:
build: ./frontend/Frontend
container_name: dropshipping-frontend
restart: always
ports:
- "80:80"
networks:
- app-network
admin:
build: ./admin
container_name: dropshipping-admin
restart: always
ports:
- "3000:3000"
depends_on:
- postgres
environment:
DB_HOST: postgres
DB_PORT: 5432
DB_USER: miguel
DB_PASSWORD: admin123
DB_NAME: my_store
PORT: 3000
networks:
- app-network
networks:
app-network:
driver: bridge