-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (40 loc) · 1008 Bytes
/
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
version: '3.2'
services:
database:
build:
context: ./docker/mysql
working_dir: /srv
command: --default-authentication-plugin=mysql_native_password
volumes:
- database:/var/lib/mysql
ports:
- "8306:3306"
php:
build:
context: ./docker/php
working_dir: /srv
volumes:
- ./:/srv/
api-quizz.troopers.agency:
image: nginx:1-alpine
depends_on:
- php
volumes:
- ./docker/nginx/vhost.conf:/etc/nginx/conf.d/default.conf:ro
- ./public/:/srv/public/:delegated
ports:
- "8000:80"
selenium:
image: selenium/standalone-chrome:2.53.1
expose:
- "4444"
volumes:
- /dev/shm:/dev/shm
- ./:/srv/
mailcatcher:
image: schickling/mailcatcher
ports:
- "1080:1080"
- "1025:1025"
volumes:
database: ~