Skip to content

Commit 3a20c7d

Browse files
committed
deploy improvements
1 parent 9fcaef2 commit 3a20c7d

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,14 @@ gcloud compute instances update-container www0 --zone us-central1-b --container-
9494

9595
## phpMyAdmin
9696

97-
Review MySQL access instructions upon `make run` command execution. Setup phpMyAdmin directly via command line. https://localhost:8080
97+
Review MySQL access instructions upon `make run` command execution. Setup phpMyAdmin directly via command line.
9898

9999
```bash
100-
> docker run --name myadmin -d --link apache_db:db --net apache_default -p 8080:80 phpmyadmin/phpmyadmin
100+
> docker run --name myadmin -d --link db:mysql --net apache_default -p 8080:443 marvambass/phpmyadmin
101101
```
102102

103+
https://localhost:8080
104+
103105
Login using the following creditial stored within the .env file:
104106

105107
|username |password |

app/run.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ postconf -e "compatibility_level=2"
131131
postconf -e "myhostname=dev-build.htmlgraphic.com"
132132
postconf -e 'mail_spool_directory="/var/spool/mail/"'
133133
postconf -e 'mydestination="localhost.localdomain localhost"'
134-
postconf -e "mydomain=htmlgraphic.com"
135134
postconf -e "relayhost=[${SMTP_HOST}]:587"
136135
postconf -e "smtp_sasl_auth_enable=yes"
137136
postconf -e "smtp_sasl_password_maps=static:${SASL_USER}:${SASL_PASS}"

docker-compose.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ services:
1919
max-file: "10"
2020
db:
2121
image: 'mysql:5.7.28'
22-
environment:
23-
- MYSQL_DATABASE=htmlgraphic
24-
- MYSQL_PASSWORD=new_password
25-
- MYSQL_ROOT_PASSWORD=new_passwordac
26-
- MYSQL_USER=admin
22+
env_file:
23+
- .env
2724
expose:
2825
- "3306"
2926
command: mysqld --sql_mode="ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"

0 commit comments

Comments
 (0)