This repository has been archived by the owner on Jul 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
130 lines (121 loc) · 4.16 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
version: '2'
services:
#######################################
# PHP application Docker container
#######################################
app:
build:
context: .
dockerfile: Dockerfile
links:
- mysql
#- postgres
- solr
hostname: local.typo3.org
ports:
- "8000:80"
- "8443:443"
- "10022:22"
volumes:
- ./app/:/app/:delegated
- ./:/docker/:cached
# cap and privileged needed for slowlog
cap_add:
- SYS_PTRACE
privileged: true
env_file:
- etc/environment.yml
- etc/environment.development.yml
environment:
- VIRTUAL_HOST=local.typo3.org
- VIRTUAL_PORT=80
- POSTFIX_RELAYHOST=[mail]:1025
#######################################
# MySQL server
#######################################
mysql:
build:
context: docker/mysql/
#dockerfile: MySQL-5.5.Dockerfile
dockerfile: MySQL-5.6.Dockerfile
#dockerfile: MySQL-5.7.Dockerfile
#dockerfile: MariaDB-5.5.Dockerfile
#dockerfile: MariaDB-10.Dockerfile
#dockerfile: Percona-5.5.Dockerfile
#dockerfile: Percona-5.6.Dockerfile
#dockerfile: Percona-5.7.Dockerfile
ports:
- 13306:3306
volumes:
- mysql:/var/lib/mysql
env_file:
- etc/environment.yml
- etc/environment.development.yml
#######################################
# PostgreSQL server
#######################################
#postgres:
# build:
# context: docker/postgres/
# dockerfile: Postgres-9.4.Dockerfile
# dockerfile: Postgres-9.5.Dockerfile
# ports:
# - 15432:5432
# volumes:
# - postgres:/var/lib/postgresql/data
# env_file:
# - etc/environment.yml
# - etc/environment.development.yml
#######################################
# Solr server
#######################################
solr:
image: webdevops/typo3-solr:6.0
# image: webdevops/typo3-solr:5.0
# image: webdevops/typo3-solr:4.0
# image: webdevops/typo3-solr:3.1
ports:
- 18983:8983
volumes:
- solr:/opt/solr/server/solr/data
env_file:
- etc/environment.yml
- etc/environment.development.yml
environment:
- VIRTUAL_HOST=local-solr.typo3.org
- VIRTUAL_PORT=8983
#######################################
# Tika server
#######################################
tika:
build:
context: docker/tika/
ports:
- 19998:9998
######################################
# CI
######################################
# ci:
# # We use the travis php container since the we have php, java & mysql later we could use single containers for that for ci
# # https://docs.travis-ci.com/user/common-build-problems/#Running-a-Container-Based-Docker-Image-Locally
# image: travisci/ci-garnet:packer-1512502276-986baf0
# command: /sbin/init
# volumes:
# - ./bin/:/opt/scripts/:cached
# - ./app/:/app/:cached
# - ./:/docker/:cached
# env_file:
# - etc/environment.yml
# - etc/environment.development.yml
#######################################
# Render Documentation
# Usage decribed here: https://github.com/t3docs/docker-render-documentation
#######################################
# documentation:
# image: t3docs/render-documentation
# volumes:
# - ./app/:/app/:cached
volumes:
mysql:
postgres:
solr: