Update docker compose
This commit is contained in:
@@ -12,6 +12,7 @@ services:
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
restart: unless-stopped
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
@@ -32,6 +33,7 @@ services:
|
||||
- "--enable-cors"
|
||||
volumes:
|
||||
- typesense-data:/data
|
||||
restart: unless-stopped
|
||||
|
||||
api:
|
||||
build:
|
||||
@@ -68,8 +70,8 @@ services:
|
||||
TYPESENSE_PORT: 8108
|
||||
TYPESENSE_API_KEY: ${TYPESENSE_API_KEY:?TYPESENSE_API_KEY must be set}
|
||||
TYPESENSE_COLLECTION_NAME: documents
|
||||
ports:
|
||||
- "${HOST_BIND_IP:-127.0.0.1}:8000:8000"
|
||||
# ports:
|
||||
# - "${HOST_BIND_IP:-127.0.0.1}:8000:8000"
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
@@ -84,6 +86,10 @@ services:
|
||||
condition: service_started
|
||||
typesense:
|
||||
condition: service_started
|
||||
networks:
|
||||
npm_proxy:
|
||||
ipv4_address: 192.168.98.41
|
||||
restart: unless-stopped
|
||||
|
||||
worker:
|
||||
build:
|
||||
@@ -123,6 +129,7 @@ services:
|
||||
condition: service_started
|
||||
typesense:
|
||||
condition: service_started
|
||||
restart: unless-stopped
|
||||
|
||||
frontend:
|
||||
build:
|
||||
@@ -142,9 +149,17 @@ services:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
- ALL
|
||||
networks:
|
||||
npm_proxy:
|
||||
ipv4_address: 192.168.98.40
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
redis-data:
|
||||
dcm-storage:
|
||||
typesense-data:
|
||||
|
||||
networks:
|
||||
npm_proxy:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user