Compare commits

..

No commits in common. "b1aaeaaef85b32262fc9ca734f482d317d5e31c6" and "a502fe908866f0730cc8be69a07fdbee64639afd" have entirely different histories.

4 changed files with 2 additions and 40 deletions

1
.gitignore vendored
View file

@ -122,4 +122,3 @@ dist
yarn.lock
public/css
public/css
docker-compose.yml

View file

@ -1,37 +0,0 @@
version: "2.4"
services:
mymusiclibrary-www:
container_name: mymusiclibrary-www
image: "node:16"
restart: always
user: "node"
working_dir: /home/node/app
command: >
bash -c "
yarn install &&
yarn run:all"
volumes:
- ./:/home/node/app
- /home/node/node_modules
ports:
- 3001:3001
depends_on:
- mymusiclibrary-db
environment:
NODE_ENV: ${NODE_ENV}
DISCOGS_TOKEN: ${DISCOGS_TOKEN}
networks:
- mymusiclibrary
mymusiclibrary-db:
container_name: mymusiclibrary-db
image: mongo:latest
restart: always
ports:
- 27617:27017
networks:
- mymusiclibrary
networks:
mymusiclibrary:
driver: bridge

View file

@ -4,7 +4,7 @@
"description": "Simple application to manage your CD/Vinyl collection",
"scripts": {
"start": "node ./dist/bin/www",
"run:all": "npm-run-all build sass start",
"dev": "npm-run-all build sass start",
"watch": "nodemon -e js,scss",
"sass": "npx sass sass/index.scss public/css/main.css -s compressed",
"prebuild": "rimraf dist",
@ -64,7 +64,7 @@
"vue": "^3.2.31"
},
"nodemonConfig": {
"exec": "yarn run:all",
"exec": "npm run dev",
"watch": [
"src/*",
"sass/*"