Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
services:
db:
# Workaround for PostgreSQL crash with pgvector v0.6.1 on ARM64
# image: pgvector/pgvector:pg15
# volumes:
# - postgres_data:/var/lib/postgresql/data/
# - ./db/init-vector-extension.sql:/docker-entrypoint-initdb.d/init-vector-extension.sql
build:
context: ./db
dockerfile: Dockerfile
Expand All @@ -14,21 +19,17 @@ services:
networks:
app_net:
ipv4_address: 192.168.0.2
# pgadmin:
# container_name: pgadmin4
# image: dpage/pgadmin4
# environment:
# PGADMIN_DEFAULT_EMAIL: balancer-noreply@codeforphilly.org
# PGADMIN_DEFAULT_PASSWORD: balancer
# # PGADMIN_LISTEN_PORT = 80
# # volumes:
# # - ./pgadmin-data:/var/lib/pgadmin
# # # PGADMIN_LISTEN_PORT = 80
# ports:
# - "5050:80"
# networks:
# app_net:
# ipv4_address: 192.168.0.4
pgadmin:
container_name: pgadmin4
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: balancer-noreply@codeforphilly.org
PGADMIN_DEFAULT_PASSWORD: balancer
ports:
- "5050:80"
networks:
app_net:
ipv4_address: 192.168.0.4
backend:
image: balancer-backend
build: ./server
Expand All @@ -55,7 +56,6 @@ services:
- "3000:3000"
environment:
- CHOKIDAR_USEPOLLING=true
# - VITE_API_BASE_URL=https://balancertestsite.com/
volumes:
- "./frontend:/usr/src/app:delegated"
- "/usr/src/app/node_modules/"
Expand Down