-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.dist
54 lines (50 loc) · 1.32 KB
/
docker-compose.yml.dist
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
version: "3.1"
services:
mariadb:
image: mariadb:latest
container_name: hackathon-docker-mariadb
working_dir: /application
volumes:
- .:/application
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=hackathon
- MYSQL_USER=hackathon
- MYSQL_PASSWORD=password
ports:
- "3306:3306"
webserver:
image: nginx:stable
container_name: hackathon-docker-webserver
working_dir: /application
volumes:
- .:/application
- ./engine/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "80:80"
php-fpm:
build: engine/php-fpm
container_name: hackathon-docker-php-fpm
working_dir: /application
volumes:
- .:/application
- ./engine/php-fpm/php-ini-overrides.ini:/etc/php/7.1/fpm/conf.d/99-overrides.ini
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: hackathon-docker-phpmyadmin
links:
- mariadb:db
ports:
- 90:80
environment:
MYSQL_USERNAME: root
MYSQL_ROOT_PASSWORD: root
nodejs:
build: engine/nodejs
container_name: phpmyadmin-docker-nodejs
working_dir: /application
volumes:
- .:/application
ports:
- "3031:3000"
tty: true