@@ -2,7 +2,7 @@ name: acontext-server
22services :
33 # --- PostgreSQL ---
44 acontext-server-pg :
5- image : postgres:16
5+ image : pgvector/pgvector:pg16
66 container_name : acontext-server-pg
77 restart : unless-stopped
88 environment :
@@ -45,8 +45,8 @@ services:
4545 RABBITMQ_DEFAULT_PASS : ${RABBITMQ_PASSWORD}
4646 RABBITMQ_DEFAULT_VHOST : ${RABBITMQ_VHOST:-/}
4747 ports :
48- - " ${RABBITMQ_EXPORT_PORT:-5672}:5672" # AMQP
49- - " ${RABBITMQ_ADMIN_EXPORT_PORT:-15672}:15672" # UI
48+ - " ${RABBITMQ_EXPORT_PORT:-5672}:5672" # AMQP
49+ - " ${RABBITMQ_ADMIN_EXPORT_PORT:-15672}:15672" # UI
5050 volumes :
5151 - ${RABBITMQ_LOCATION}:/var/lib/rabbitmq
5252 healthcheck :
@@ -66,12 +66,16 @@ services:
6666 MINIO_BROWSER_REDIRECT_URL : http://127.0.0.1:9001
6767 command : server /data --address ":9000" --console-address ":9001"
6868 ports :
69- - " ${S3_API_EXPORT_PORT:-9000}:9000" # S3 API
70- - " ${S3_CONSOLE_EXPORT_PORT:-9001}:9001" # MinIO Console
69+ - " ${S3_API_EXPORT_PORT:-9000}:9000" # S3 API
70+ - " ${S3_CONSOLE_EXPORT_PORT:-9001}:9001" # MinIO Console
7171 volumes :
7272 - ${S3_LOCATION}:/data
7373 healthcheck :
74- test : ["CMD-SHELL", "curl -f http://127.0.0.1:9000/minio/health/ready || exit 1"]
74+ test :
75+ [
76+ " CMD-SHELL" ,
77+ " curl -f http://127.0.0.1:9000/minio/health/ready || exit 1" ,
78+ ]
7579 interval : 30s
7680 timeout : 5s
7781 retries : 5
@@ -130,4 +134,4 @@ services:
130134 acontext-server-rabbitmq :
131135 condition : service_healthy
132136 acontext-server-minio :
133- condition : service_healthy
137+ condition : service_healthy
0 commit comments