@@ -9,8 +9,6 @@ services:
9
9
environment :
10
10
- PUBLIC_URL=${FRONTEND_PUBLIC_URL}
11
11
- WDS_SOCKET_PORT=${WDS_SOCKET_PORT}
12
- volumes :
13
- - ./repo_refs/react1-app:/app
14
12
api :
15
13
profiles : ["baseServices", "full"]
16
14
build : ${API_BUILD_CONTEXT}
@@ -24,8 +22,6 @@ services:
24
22
- DATABASE_HOST=${DATABASE_HOST}
25
23
- DATABASE_USERNAME=${DATABASE_USERNAME}
26
24
- RAILS_ENV=${RAILS_ENV}
27
- volumes :
28
- - ./repo_refs/rails-app:/app
29
25
healthcheck :
30
26
test : ["CMD", "curl", "-f", "http://localhost:3000/api/ping"]
31
27
interval : 10s
@@ -45,8 +41,6 @@ services:
45
41
- POSTGRES_USER=${POSTGRES_USER}
46
42
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
47
43
- POSTGRES_DB=${POSTGRES_DB}
48
- volumes :
49
- - ./postgres_data:/var/lib/postgresql/data
50
44
healthcheck :
51
45
test : ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
52
46
interval : 10s
@@ -62,15 +56,11 @@ services:
62
56
- WDS_SOCKET_PORT=${WDS_SOCKET_PORT}
63
57
networks :
64
58
- app-network
65
- volumes :
66
- - ./repo_refs/react2-app:/app
67
59
nginx :
68
60
profiles : ["baseServices", "full"]
69
61
image : nginx:alpine
70
62
ports :
71
63
- 8089:80
72
- volumes :
73
- - ./nginx/default.conf:/etc/nginx/conf.d/default.conf
74
64
depends_on :
75
65
- api
76
66
- frontend
@@ -88,8 +78,6 @@ services:
88
78
build : ./test
89
79
networks :
90
80
- app-network
91
- volumes :
92
- - ./test:/app
93
81
environment :
94
82
- CYPRESS_BASE_URL=http://nginx:80
95
83
depends_on :
0 commit comments