forked from gregurco/jobeet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (43 loc) · 1.19 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
version: "3.1"
services:
mysql:
image: mysql:5.7
container_name: jobeet-mysql
working_dir: /application
volumes:
- .:/application
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_DATABASE=jobeet
- MYSQL_USER=user
- MYSQL_PASSWORD=password
ports:
- 3306:3306
webserver:
image: nginx:alpine
container_name: jobeet-webserver
working_dir: /application
volumes:
- .:/application
- ./docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- 80:80
php-fpm:
build: docker/php-fpm
container_name: jobeet-php-fpm
working_dir: /application
volumes:
- .:/application
- ./docker/php-fpm/php-ini-overrides.ini:/etc/php/7.2/fpm/conf.d/99-overrides.ini
node:
image: node:9.11.1
container_name: jobeet-node
working_dir: /application
volumes:
- .:/application
mailhog:
image: mailhog/mailhog:v1.0.0
container_name: jobeet-mailhog
ports:
- 1025:1025
- 8025:8025