File tree Expand file tree Collapse file tree 1 file changed +19
-18
lines changed
Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Original file line number Diff line number Diff line change 11services :
22 db :
3- image : pgvector/pgvector:pg15
4- volumes :
5- - postgres_data:/var/lib/postgresql/data/
6- - ./init-vector-extension.sql:/docker-entrypoint-initdb.d/init-vector-extension.sql
7- environment :
8- - POSTGRES_USER=balancer
9- - POSTGRES_PASSWORD=balancer
10- - POSTGRES_DB=balancer_dev
11- ports :
3+ build :
4+ context : ./db
5+ dockerfile : Dockerfile
6+ volumes :
7+ - postgres_data:/var/lib/postgresql/data/
8+ environment :
9+ - POSTGRES_USER=balancer
10+ - POSTGRES_PASSWORD=balancer
11+ - POSTGRES_DB=balancer_dev
12+ ports :
1213 - " 5433:5432"
13- networks :
14- app_net :
15- ipv4_address : 192.168.0.2
14+ networks :
15+ app_net :
16+ ipv4_address : 192.168.0.2
1617 pgadmin :
1718 container_name : pgadmin4
1819 image : dpage/pgadmin4
@@ -51,13 +52,13 @@ services:
5152 args :
5253 - IMAGE_NAME=balancer-frontend
5354 ports :
54- - " 3000:3000"
55+ - " 3000:3000"
5556 environment :
56- - CHOKIDAR_USEPOLLING=true
57- # - VITE_API_BASE_URL=https://balancertestsite.com/
57+ - CHOKIDAR_USEPOLLING=true
58+ # - VITE_API_BASE_URL=https://balancertestsite.com/
5859 volumes :
59- - " ./frontend:/usr/src/app:delegated"
60- - " /usr/src/app/node_modules/"
60+ - " ./frontend:/usr/src/app:delegated"
61+ - " /usr/src/app/node_modules/"
6162 depends_on :
6263 - backend
6364 networks :
@@ -71,4 +72,4 @@ networks:
7172 driver : default
7273 config :
7374 - subnet : " 192.168.0.0/24"
74- gateway : 192.168.0.1
75+ gateway : 192.168.0.1
You can’t perform that action at this time.
0 commit comments