File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1- # Use a more recent base image
21FROM ubuntu:20.04
32
43# Metadata as defined at http://label-schema.org
Original file line number Diff line number Diff line change 6868 @echo " THE PASSWORD FOR ${bold} $( MYSQL_USER) ${normal} IS ${bold} $( MYSQL_PASSWORD) ${normal} ;"
6969 @echo ' '
7070 @echo " docker exec -it apache_db /bin/bash \n \
71- mysql -p \n \
71+ mysql -p ' $(MYSQL_ROOT_PASSWORD) ' \n \
7272 GRANT ALL PRIVILEGES ON * . * TO ' $(MYSQL_USER)' @' %' with grant option; \n "
7373
7474 docker-compose -f $(COMPOSE_FILE) up -d --remove-orphans
Original file line number Diff line number Diff line change @@ -70,16 +70,16 @@ Open `docker-compose.local.yml` and review [this line](https://github.com/htmlgr
7070### Windows
7171
7272``` bash
73- ~ git clone https:// github.com/ htmlgraphic/Apache.git ~ /Docker/Apache; cd ~ /Docker/Apache
74- ~ copy .env.example .env
75- ~ docker-compose -f docker-compose.local.yml up -d
73+ > git clone git@ github.com: htmlgraphic/Apache.git ~ /Docker/Apache; cd ~ /Docker/Apache
74+ > copy .env.example .env
75+ > docker-compose -f docker-compose.local.yml up -d
7676```
7777
7878> Optional, are you having problems on Windows? Disable Firewall
7979
8080``` bash
81- ~ netsh advfirewall show currentprofile
82- ~ netsh advfirewall set allprofiles state off
81+ > netsh advfirewall show currentprofile
82+ > netsh advfirewall set allprofiles state off
8383```
8484
8585
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ services:
55 restart : unless-stopped
66 container_name : apache
77 volumes :
8- - ' ~/SITES/docker:/data' # Preferred local working dir
8+ - ' ~/SITES/docker:/data' # <- Change to preferred local working dir
99 # - '/c/Users/southpark/docker:/data'
1010 links :
1111 - ' db:mysql'
You can’t perform that action at this time.
0 commit comments