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.
 
 

25 lines
502 B

version: '3'
# mysql --port=3306 --host=127.0.0.1 -u root --password=password
services:
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
volumes:
- "./db:/var/lib/mysql"
blog:
build: .
volumes:
- ./:/src
ports:
- 8000:8000
restart: always
links:
- db:database