-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (46 loc) · 968 Bytes
/
docker-compose.yml
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
45
46
47
48
name: tika
x-net: &net
networks:
- tika-net
services:
tika-init:
container_name: tika-init
env_file: .env
build:
context: .
dockerfile: Dockerfile
volumes:
- tika-config:/config
- tika-extras:/tika-extras
tika:
container_name: tika
image: apache/tika:latest-full
<<: [ *net ]
command: -c /config/config.xml
ports:
- "9998:9998"
environment:
- "AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT=true"
volumes:
- ./tika-output:/output
- tika-config:/config
- tika-extras:/tika-extras
depends_on:
tika-init:
condition: service_completed_successfully
s3mock:
image: adobe/s3mock:latest
hostname: s3
<<: *net
environment:
# - debug=true
- retainFilesOnExit=false
- root=uploads
- initialBuckets=${BUCKET}
ports:
- "9090:9090" # HTTP
volumes:
tika-config:
tika-extras:
networks:
tika-net: