Personal blog written from scratch using Node.js, Bootstrap, and MySQL. https://jrtechs.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
502 B

  1. version: '3'
  2. # mysql --port=3306 --host=127.0.0.1 -u root --password=password
  3. services:
  4. db:
  5. image: mysql
  6. command: --default-authentication-plugin=mysql_native_password
  7. restart: always
  8. environment:
  9. MYSQL_ROOT_PASSWORD: password
  10. volumes:
  11. - "./db:/var/lib/mysql"
  12. blog:
  13. build: .
  14. volumes:
  15. - ./:/src
  16. ports:
  17. - 8000:8000
  18. restart: always
  19. links:
  20. - db:database