-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yml
executable file
·62 lines (57 loc) · 1.26 KB
/
docker-compose-dev.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
version: "3"
services:
nginx:
container_name: nginx
image: nginx:latest
restart: always
ports:
- "80:80"
depends_on:
- php56
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/conf.d/:/etc/nginx/conf.d:ro
- fei-unison-sync:/home:nocopy
php56:
container_name: php56
build:
context: ./php56
dockerfile: Dockerfile
restart: always
depends_on:
- mariadb
volumes:
- ../dms-merrin5/:/var/www/dms-merrin5
- fei-unison-sync:/home:nocopy
expose:
- "9000"
mariadb:
container_name: mariadb
image: mariadb:10.3.1
restart: always
volumes:
- mysql-data:/var/lib/mysql
ports:
- "3306:3306"
expose:
- "3306"
environment:
TZ: 'Asia/Shanghai'
MYSQL_ROOT_PASSWORD: "root"
command: ['mysqld', '--character-set-server=utf8mb4']
mailcatcher:
container_name: mailcatcher
image: schickling/mailcatcher
ports:
- "1025:1025"
- "1080:1080"
parsoid:
container_name: parsoid
image: benhutchins/parsoid
ports:
- "8142:8142"
- "8000:8000"
volumes:
mysql-data:
fei-unison-sync:
external: true