-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (38 loc) · 922 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
version: '3.2'
services:
nginx:
build: ./nginx
ports:
- 80:80
- 443:443
links:
- php
volumes:
- ./xcart:/var/www/xcart
php:
build: ./php
expose:
- 9000
links:
- mariadb
volumes:
- ./xcart:/var/www/xcart
mariadb:
build: ./mariadb
expose:
- 3306
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: devpw
MYSQL_DATABASE: printfirm_com_development
MYSQL_USER: printfirm_com
MYSQL_PASSWORD: example_dbpassword
volumes:
- /var/lib/mysql
- ./docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- ./xcart:/var/www/xcart
# node:
# image: ./node
# volumes:
# - ./xcart:/var/www/xcart