This repository was archived by the owner on Feb 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
106 lines (92 loc) · 2.54 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
version: '3'
services:
nginx:
image: nginx:alpine
links:
- php_web
- php_worker
volumes:
- phraseanet:/var/www/app
- ${PWD}/.docker/nginx/nginx.conf:/etc/nginx/nginx.conf
ports:
- 80:80
php_web:
image: airdock/phraseanet:latest
volumes:
- phraseanet:/var/www/app
- ${PWD}/.docker/php/phrasea.ini:/usr/local/etc/php/conf.d/phrasea.ini
- ${PWD}/.docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf
depends_on:
- mysql
php_worker:
image: airdock/phraseanet:latest
environment:
RUN_AS_WORKER: "true"
volumes:
- phraseanet:/var/www/app
- ${PWD}/.docker/php/phrasea.ini:/usr/local/etc/php/conf.d/phrasea.ini
- ${PWD}/.docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf
depends_on:
- mysql
mysql:
image: mariadb:latest
restart: always
volumes:
- ${PWD}/.data:/var/lib/mysql
- ${PWD}/.docker/mysql/strict.cnf:/etc/mysql/conf.d/strict.cnf
- ${PWD}/.docker/mysql:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: phrasea
MYSQL_DATABASE: phraseanet
MYSQL_USER: canal
MYSQL_PASSWORD: canal
ports:
- 3306:3306
mysql_admin:
image: phpmyadmin/phpmyadmin:latest
environment:
PMA_HOST: mysql
PMA_USER: root
PMA_PASSWORD: phrasea
ports:
- 9003:80
elastic:
image: elasticsearch:2.4-alpine
environment:
discovery.type: single-node
# ELASTIC_PASSWORD: changeme
command: elasticsearch -Des.http.port=9200 -Des.http.cors.allow-origin="*" -Des.http.cors.enabled=true -Des.http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization -Des.http.cors.allow-credentials=true -Des.http.cors.allowed-methods="*"
entrypoint: /docker-entrypoint.d/docker-entrypoint.sh
volumes:
- ${PWD}/.esdata:/usr/share/elasticsearch/data
- ${PWD}/.docker/elastic/entrypoint.sh:/docker-entrypoint.d/docker-entrypoint.sh
smtp:
image: mailhog/mailhog
ports:
- 8025:8025
environment:
MH_HOSTNAME": smtp
MH_STORAGE: maildir
MH_MAILDIR_PATH: /docker-volumes.d/mails
volumes:
- ${PWD}/.mails:/docker-volumes.d/mails
dejavu:
image: appbaseio/dejavu:latest
ports:
- 9005:1358
elastichq:
image: elastichq/elasticsearch-hq
ports:
- 9010:5000
redis:
image: redis:latest
ports:
- 6379:6379
rabbit:
image: rabbitmq:latest
ports:
- 5672:5672
networks:
default: {}
volumes:
phraseanet: