-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (42 loc) · 847 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (42 loc) · 847 Bytes
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
version: '3'
services:
php:
build: ./
volumes:
- .:/app:cached
- ./docker/php.ini:/usr/local/etc/php/conf.d/custom.ini
- ./docker/supervisord.conf:/etc/supervisord.conf
links:
- mariadb
- mailcatcher
- redis
nginx:
image: nginx:alpine
ports:
- 8000:80
volumes:
- .:/app
- ./docker/default.conf:/etc/nginx/conf.d/default.conf
links:
- php
mariadb:
image: mariadb:latest
ports:
- 33060:3306
volumes:
- mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: running_time
MYSQL_USER: running_time
MYSQL_PASS: secret
mailcatcher:
image: schickling/mailcatcher
ports:
- 1080:1080
redis:
image: redis:3-alpine
ports:
- 63790:6379
volumes:
mysql: