-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
119 lines (108 loc) · 2.32 KB
/
docker-compose.yml
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
version: '3.9'
services:
module-controller-fyp:
container_name: module-controller-fyp
image: module-controller-fyp:latest
build:
context: fyp-be/ModuleController
dockerfile: ./Dockerfile
ports:
- "8084:8084"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- fyp-network
auth-fyp:
container_name: auth-fyp
image: auth-fyp:latest
build:
context: fyp-be/Auth
dockerfile: ./Dockerfile
ports:
- "8082:8082"
networks:
- fyp-network
user-fyp:
container_name: user-fyp
image: user-fyp:latest
build:
context: fyp-be
dockerfile: ./user.dockerfile
ports:
- "8083:8083"
depends_on:
- postgres-fyp
networks:
- fyp-network
pharmacy-fyp:
container_name: pharmacy-fyp
image: pharmacy-fyp:latest
build:
context: fyp-be
dockerfile: ./pharmacy.dockerfile
ports:
- "8080:8080"
depends_on:
- postgres-fyp
networks:
- fyp-network
appointment-fyp:
container_name: appointment-fyp
image: appointment-fyp:latest
build:
context: fyp-be
dockerfile: ./appointment.dockerfile
ports:
- "8081:8081"
depends_on:
- postgres-fyp
networks:
- fyp-network
postgres-fyp:
container_name: postgres-fyp
image: postgres:15.1
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_USER: ahmadobeid
POSTGRES_PASSWORD: ahmadobeidpass
POSTGRES_DB: fyp
networks:
- fyp-network
notification-scheduler-fyp:
container_name: notification-scheduler-fyp
image: notification-scheduler-fyp:latest
build:
context: fyp-be/notif-scheduler
dockerfile: ./notif-scheduler.dockerfile
depends_on:
- postgres-fyp
networks:
- fyp-network
nginx:
container_name: nginx-fyp
image: nginx-fyp:latest
build:
context: fyp-be/nginx
dockerfile: dockerfile
ports:
- "5000:80"
networks:
- fyp-network
# fyp-fe:
# container_name: fyp-fe
# image: fyp-fe:latest
# build:
# context: ./fyp-fe
# dockerfile: Dockerfile
# args:
# http_proxy: ''
# https_proxy: ''
# ports:
# - "4200:80"
# networks:
# - fyp-network
networks:
fyp-network:
driver: bridge