-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
88 lines (81 loc) · 1.75 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: "3.1"
services:
apps:
container_name: dae-apps
build:
context: .
dockerfile: docker/apps.dockerfile
working_dir: /app
command: /usr/local/bin/run.sh
#command: tail -f /dev/null
volumes:
- ./vols/data:/data
- ./vols/archive:/archive
- ./vols/home:/home
- ./vols/tmp:/tmp
ports:
- "2222:22"
- "3000:3000"
dae_wiki:
container_name: dae-wiki
build:
context: .
dockerfile: docker/dae-wiki.dockerfile
working_dir: /wiki
command: /usr/local/bin/dae-wiki-run.sh
env_file:
- .env
volumes:
- ./vols/home:/home
- ./vols/wiki:/home/wiki/wiki
ports:
- "5000:5000"
dae-archive-app:
build:
context: .
dockerfile: docker/dae-archive-app.dockerfile
container_name: dae-archive-app
volumes:
- ./dae-archive-app:/usr/src/archive-app
ports:
- "4000:4000"
apache:
container_name: dae-apache
build:
context: .
dockerfile: docker/apache.dockerfile
volumes:
- ./vols/archive:/archive
command: "apachectl -DFOREGROUND"
ports:
- "80:80"
solr:
container_name: dae-solr
ports:
- "8983:8983"
build:
context: .
dockerfile: docker/solr.dockerfile
volumes:
- solr:/var/solr
ports:
- "8983:8983"
mongodb:
container_name: dae-mongodb
image: mongo:latest
ports:
- "27017:27017"
imgproxywiki:
container_name: imgproxywiki
image: darthsim/imgproxy:latest
restart: always
environment:
- IMGPROXY_KEY=${KEY}
- IMGPROXY_SALT=${SALT}
- IMGPROXY_LOCAL_FILESYSTEM_ROOT=/home/wiki/wiki
volumes:
- ./vols/wiki:/home/wiki/wiki
ports:
- '6080:6080'
volumes:
solr: