@@ -9,8 +9,6 @@ services:
99 environment :
1010 - PUBLIC_URL=${FRONTEND_PUBLIC_URL}
1111 - WDS_SOCKET_PORT=${WDS_SOCKET_PORT}
12- volumes :
13- - ./repo_refs/react1-app:/app
1412 api :
1513 profiles : ["baseServices", "full"]
1614 build : ${API_BUILD_CONTEXT}
@@ -24,8 +22,6 @@ services:
2422 - DATABASE_HOST=${DATABASE_HOST}
2523 - DATABASE_USERNAME=${DATABASE_USERNAME}
2624 - RAILS_ENV=${RAILS_ENV}
27- volumes :
28- - ./repo_refs/rails-app:/app
2925 healthcheck :
3026 test : ["CMD", "curl", "-f", "http://localhost:3000/api/ping"]
3127 interval : 10s
@@ -45,8 +41,6 @@ services:
4541 - POSTGRES_USER=${POSTGRES_USER}
4642 - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
4743 - POSTGRES_DB=${POSTGRES_DB}
48- volumes :
49- - ./postgres_data:/var/lib/postgresql/data
5044 healthcheck :
5145 test : ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
5246 interval : 10s
@@ -62,15 +56,13 @@ services:
6256 - WDS_SOCKET_PORT=${WDS_SOCKET_PORT}
6357 networks :
6458 - app-network
65- volumes :
66- - ./repo_refs/react2-app:/app
6759 nginx :
6860 profiles : ["baseServices", "full"]
6961 image : nginx:alpine
7062 ports :
7163 - 8089:80
7264 volumes :
73- - ./nginx/default.conf:/etc/nginx/conf.d/default .conf
65+ - ./nginx/default.conf:/etc/nginx/nginx .conf
7466 depends_on :
7567 - api
7668 - frontend
@@ -88,8 +80,6 @@ services:
8880 build : ./test
8981 networks :
9082 - app-network
91- volumes :
92- - ./test:/app
9383 environment :
9484 - CYPRESS_BASE_URL=http://nginx:80
9585 depends_on :
0 commit comments