8e7b68966cd10d4a47d33b8cdcc8c805047666da
Learned that services are only running within the Docker build layer they are started in it seems...
Learned that services are only running within the Docker build layer they are started in it seems...
CS4430 Project
Best Guide So Far
[https://www.sitepoint.com/php-amp-mysql-1-installation/] [https://www.sitepoint.com/getting-started-mysql/] [https://www.sitepoint.com/mysql-3-getting-started-php/] [https://www.sitepoint.com/publishing-mysql-data-web/]
Page Responsibilities
Bryan
- "Search"
search.html - "Message Someone"
sendMessage.html
Logan
- "Find a New Friend"
findFriend.html - "Check Pending Friends"
pendingFriend.html
William
- "See Messages"
messages.html - "See Friends"
friends.html
Notes
- Can use
ps waux | grep nginxto check if the NGINX service is running - MySQL's documentation sucks.
- Will be using
mysql_secure_installation --use-default, for now as I can't find what the defaults actually are. - [https://dev.mysql.com/doc/refman/5.7/en/mysql-secure-installation.html]
- Will be using
- Use
nginx -s reloadto reload the web server's configurations - I (William) will host an instance at [https://friends.proxy0.williammiceli.io/] that is publically accessible for testing. If anyone wants me to change the version/image used, just let me know.
Traefik Configuration Labels
traefik.enable: true
traefik.http.routers.CS4430-Project-router-http.entrypoints: http
traefik.http.routers.CS4430-Project-router-http.rule: Host(`friends.proxy0.williammiceli.io`)
traefik.http.routers.CS4430-Project-router-http.middlewares: CS4430-Project-redirectHttp
traefik.http.routers.CS4430-Project-router-http.service: CS4430-Project-service-http
traefik.http.routers.CS4430-Project-router-https.entrypoints: https
traefik.http.routers.CS4430-Project-router-https.rule: Host(`friends.proxy0.williammiceli.io`)
traefik.http.routers.CS4430-Project-router-https.tls: true
traefik.http.routers.CS4430-Project-router-https.tls.certresolver: letsencrypt
traefik.http.routers.CS4430-Project-router-https.service: CS4430-Project-service-http
traefik.http.middlewares.CS4430-Project-redirectHttp.redirectscheme.permanent: true
traefik.http.middlewares.CS4430-Project-redirectHttp.redirectscheme.scheme: https
traefik.http.services.CS4430-Project-service-http.loadbalancer.passhostheader: true
traefik.http.services.CS4430-Project-service-http.loadbalancer.server.port: "80"
Description
Languages
PHP
88.7%
Shell
3.2%
Dockerfile
2.8%
HTML
2.7%
CSS
2.6%