-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
89 lines (80 loc) · 2.01 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
89
version: '2'
services:
ckan:
depends_on:
- db
- solr
- datapusher
- redis
build: ./ckan
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/odpkg/log/ckan:/var/log/apache2
- /opt/odpkg/ckan/data:/var/lib/ckan
- ./ckan/ckanext-bodik_theme:/usr/lib/ckan/default/src/ckanext-bodik_theme
restart: always
env_file: ./odpkg.env
db:
build: ./postgresql
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/odpkg/log/postgresql:/var/log/postgresql
restart: always
env_file: ./odpkg.env
solr:
build: ./solr
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/odpkg/log/solr:/opt/solr/example/logs
restart: always
datapusher:
build: ./datapusher
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/odpkg/log/datapusher:/var/log/datapusher
restart: always
redis:
image: redis
volumes:
- /etc/localtime:/etc/localtime:ro
restart: always
wordpress:
depends_on:
- mysql
build: ./wordpress
volumes:
- /etc/localtime:/etc/localtime:ro
- ./wordpress/wp-content:/var/www/html/wp-content
- /opt/odpkg/log/wordpress/:/var/log/apache2
restart: always
env_file: ./odpkg.env
mysql:
build: ./mysql
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/odpkg/log/mysql:/var/log/mysql
restart: always
env_file: ./odpkg.env
dashboard:
build: ./dashboard
volumes:
- /etc/localtime:/etc/localtime:ro
- ./dashboard:/dashboard
- /opt/odpkg/log/dashboard:/dashboard/log
privileged: true
restart: always
env_file: ./odpkg.env
nginx:
depends_on:
- ckan
- wordpress
- dashboard
build: ./nginx
restart: always
env_file: ./odpkg.env
ports:
- "443:443"
- "80:80"
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/odpkg/log/nginx:/var/log/nginx