-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
52 lines (49 loc) · 1.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
---
version: '3.6'
services:
adminer:
depends_on:
- db
image: adminer
ports:
- ${ADMINER_PORT}:8080/tcp
links:
- db:db
db:
image: mariadb
restart: always
volumes:
- './db-live:/var/lib/mysql'
- './db-init:/docker-entrypoint-initdb.d'
restart: always
env_file:
- .env
web:
build:
context: .
target: dev
depends_on:
- db
env_file:
- .env
volumes:
- './appveyor.yml:/var/www/html/appveyor.yml'
- './assets:/var/www/html/assets'
- './bin:/var/www/html/bin'
- './captainhook.json:/var/www/html/captainhook.json'
- './codeception.yml:/var/www/html/codeception.yml'
- './config:/var/www/html/config'
- './phpcs.xml:/var/www/html/phpcs.xml'
- './phpstan.neon:/var/www/html/phpstan.neon'
- './public:/var/www/html/public'
- './src:/var/www/html/src'
- './templates:/var/www/html/templates'
- './tests:/var/www/html/tests'
- './var:/var/www/html/var'
- '/etc/passwd:/etc/passwd'
- '/etc/group:/etc/group'
ports:
- ${WEB_PORT}:80/tcp
links:
- db:db
restart: always