-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (37 loc) · 1.1 KB
/
docker-compose.yml
File metadata and controls
37 lines (37 loc) · 1.1 KB
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
version: '2'
services:
db:
image: mariadb:5.5
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: 'cakephp'
MYSQL_DATABASE: 'cakephp'
cakephp:
build: .
expose:
- "9000"
volumes:
- /www
- /mnt/docker/cakephp/logs:/www/logs
- /mnt/docker/cakephp/tmp:/www/tmp
links:
- db
environment:
DEBUG: 'true'
DB_HOST: 'db' # Leave this as 'db' to utilize MySQL container(s)
DB_USERNAME: 'root'
DB_PASSWORD: 'cakephp'
DB_DATABASE: 'cakephp'
DB_SEED: 'DatabaseSeed'
EMAIL_HOST: 'localhost'
EMAIL_PORT: '25'
EMAIL_TIMEOUT: '30'
EMAIL_USERNAME: 'user'
EMAIL_PASSWORD: 'secret'
EMAIL_TLS: 'false'
REPO: 'https://gitlab.dynamictivity.com/cakephp/cakephp-bookmarker.git'
REPO_HOST: 'gitlab.dynamictivity.com'
SECURITY_SALT: '4F3mzqXRuQ4X9S9sR2d64YV2Ftcfd2KVek678m4K63q35g9z7YT8YwEu4s46A25Y'
ports:
- "80:80"