File tree Expand file tree Collapse file tree 4 files changed +40
-32
lines changed Expand file tree Collapse file tree 4 files changed +40
-32
lines changed Original file line number Diff line number Diff line change 6
6
7
7
steps :
8
8
- checkout
9
-
9
+ - run :
10
+ name : Install Docker Compose
11
+ command : |
12
+ set -x
13
+ curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` > ~/docker-compose
14
+ chmod +x ~/docker-compose
15
+ sudo mv ~/docker-compose /usr/local/bin/docker-compose
10
16
- run :
11
17
name : Build Apache Docker image
12
18
command : |
25
31
docker ps -a
26
32
sleep 10
27
33
28
-
29
34
- run : mkdir -p ~/apache/logs/container-build
30
35
31
36
- run :
37
42
name : Global Environment Vars
38
43
command : |
39
44
docker exec apache_web_1 /bin/bash -c "export"
40
-
45
+
41
46
- run :
42
47
name : DEV Build Tests
43
48
command : |
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ trim_trailing_whitespace = false
14
14
15
15
[* .yml ]
16
16
indent_style = space
17
+ indent_size = 2
17
18
18
19
[Makefile ]
19
20
indent_style = tab
Original file line number Diff line number Diff line change 1
1
SASL_USER = p08tf1X
2
2
SASL_PASS = p@ssw0Rd
3
3
SMTP_HOST = email-test.htmlgraphic.com
4
+ VOLUMES = /Volumes/Case/SITES/docker:/data
5
+ # VOLUMES=/c/Users/southpark/docker:/data
Original file line number Diff line number Diff line change 1
- web :
2
- image : ' htmlgraphic/apache:envoyer '
3
- volumes :
4
- - " /Volumes/Case/SITES/docker:/data "
5
- # - "/c/Users/southpark/docker:/data"
6
- links :
7
- - " db:mysql "
8
- ports :
9
- - " 80:80 "
10
- - " 443:443 "
11
- environment :
12
- - NODE_ENVIRONMENT=dev
13
- env_file :
14
- - .env
15
- db :
16
- image : ' htmlgraphic/mysql:5.7.18 '
17
- volumes_from :
18
- - db-data
19
- ports :
20
- - " 3306:3306 "
21
- environment :
22
- - MYSQL_ROOT_PASSWORD=new_passwordac
23
- - MYSQL_DATABASE=htmlgraphic
24
- - MYSQL_USER=admin
25
- - MYSQL_PASSWORD=new_password
26
- db-data :
27
- image : ' busybox:latest '
28
- volumes :
29
- - " /var/lib/mysql "
1
+ version : " 3 "
2
+ services :
3
+ web :
4
+ image : ' htmlgraphic/apache:envoyer '
5
+ volumes :
6
+ - " /Volumes/Case/SITES/docker:/data " # <- Change to preferred local working dir
7
+ # - "/c/Users/southpark/docker:/data "
8
+ links :
9
+ - " db:mysql "
10
+ ports :
11
+ - " 80:80 "
12
+ - " 443:443 "
13
+ environment :
14
+ - NODE_ENVIRONMENT=dev
15
+ env_file :
16
+ - .env
17
+ db :
18
+ image : ' htmlgraphic/mysql:5.7.18 '
19
+ volumes :
20
+ - " db-data:/var/lib/mysql "
21
+ ports :
22
+ - " 3306:3306 "
23
+ environment :
24
+ - MYSQL_ROOT_PASSWORD=new_passwordac
25
+ - MYSQL_DATABASE=htmlgraphic
26
+ - MYSQL_USER=admin
27
+ - MYSQL_PASSWORD=new_password
28
+ volumes :
29
+ db-data :
You can’t perform that action at this time.
0 commit comments