forked from MWest2020/presidio-nl-v2
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
44 lines (41 loc) · 970 Bytes
/
docker-compose.yaml
File metadata and controls
44 lines (41 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
services:
presidio-nl:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
ports:
- "8001:8080"
environment:
- UVICORN_SERVER_MODE=development
- DEBUG=true
- DEFAULT_NLP_ENGINE=spacy
- DEFAULT_SPACY_MODEL=nl_core_news_lg
- DEFAULT_TRANSFORMERS_MODEL=pdelobelle/robbert-v2-dutch-base
- CRYPTO_KEY=examplekey
- BASIC_AUTH_USERNAME=user
- BASIC_AUTH_PASSWORD=user
volumes:
- presidio-data:/app/
- ./data:/app/data # Mount SQLite database directory
networks:
- presidio-network
ui:
build:
context: ./src/ui
dockerfile: Dockerfile
args:
- VITE_API_BASE_URL=http://localhost:8001/api/v1
restart: unless-stopped
ports:
- "8002:80"
depends_on:
- presidio-nl
networks:
- presidio-network
volumes:
presidio-data:
driver: local
networks:
presidio-network:
driver: bridge