Skip to content

Commit 6cf5ad2

Browse files
authored
Merge pull request #391 from sahilds1/382-postgresql-crash-workaround
[#382] Comment with workaround for PostgreSQL crash
2 parents 4161ecc + fe3663b commit 6cf5ad2

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docker-compose.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
services:
22
db:
3+
# Workaround for PostgreSQL crash with pgvector v0.6.1 on ARM64
4+
# image: pgvector/pgvector:pg15
5+
# volumes:
6+
# - postgres_data:/var/lib/postgresql/data/
7+
# - ./db/init-vector-extension.sql:/docker-entrypoint-initdb.d/init-vector-extension.sql
38
build:
49
context: ./db
510
dockerfile: Dockerfile
@@ -14,21 +19,17 @@ services:
1419
networks:
1520
app_net:
1621
ipv4_address: 192.168.0.2
17-
# pgadmin:
18-
# container_name: pgadmin4
19-
# image: dpage/pgadmin4
20-
# environment:
21-
# PGADMIN_DEFAULT_EMAIL: balancer-noreply@codeforphilly.org
22-
# PGADMIN_DEFAULT_PASSWORD: balancer
23-
# # PGADMIN_LISTEN_PORT = 80
24-
# # volumes:
25-
# # - ./pgadmin-data:/var/lib/pgadmin
26-
# # # PGADMIN_LISTEN_PORT = 80
27-
# ports:
28-
# - "5050:80"
29-
# networks:
30-
# app_net:
31-
# ipv4_address: 192.168.0.4
22+
pgadmin:
23+
container_name: pgadmin4
24+
image: dpage/pgadmin4
25+
environment:
26+
PGADMIN_DEFAULT_EMAIL: balancer-noreply@codeforphilly.org
27+
PGADMIN_DEFAULT_PASSWORD: balancer
28+
ports:
29+
- "5050:80"
30+
networks:
31+
app_net:
32+
ipv4_address: 192.168.0.4
3233
backend:
3334
image: balancer-backend
3435
build: ./server
@@ -55,7 +56,6 @@ services:
5556
- "3000:3000"
5657
environment:
5758
- CHOKIDAR_USEPOLLING=true
58-
# - VITE_API_BASE_URL=https://balancertestsite.com/
5959
volumes:
6060
- "./frontend:/usr/src/app:delegated"
6161
- "/usr/src/app/node_modules/"

0 commit comments

Comments
 (0)