File tree 4 files changed +6
-4
lines changed
rootfs/etc/services.d/manager
4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 4
4
"knex" : {
5
5
"client" : " sqlite3" ,
6
6
"connection" : {
7
- "filename" : " /app/backend/ config/mydb.sqlite"
7
+ "filename" : " /app/config/mydb.sqlite"
8
8
},
9
9
"pool" : {
10
10
"min" : 0 ,
Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ services:
21
21
volumes :
22
22
- npm_data:/data
23
23
- le_data:/etc/letsencrypt
24
- - ..:/app
24
+ - ../backend:/app
25
+ - ../frontend:/app/frontend
26
+ - ../global:/app/global
25
27
depends_on :
26
28
- db
27
29
working_dir : /app
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ mkdir -p /data/letsencrypt-acme-challenge
5
5
cd /app || echo
6
6
7
7
if [ "$DEVELOPMENT" == "true" ]; then
8
- cd /app/backend || exit 1
8
+ cd /app || exit 1
9
9
yarn install
10
10
node --max_old_space_size=250 --abort_on_uncaught_exception node_modules/nodemon/bin/nodemon.js
11
11
else
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
7
7
if hash docker-compose 2> /dev/null; then
8
8
cd " ${DIR} /.."
9
9
echo -e " ${BLUE} ❯ ${CYAN} Testing Dev Stack ...${RESET} "
10
- docker-compose exec -T npm bash -c " cd /app/backend && task test"
10
+ docker-compose exec -T npm bash -c " cd /app && task test"
11
11
else
12
12
echo -e " ${RED} ❯ docker-compose command is not available${RESET} "
13
13
fi
You can’t perform that action at this time.
0 commit comments