Skip to content

Commit 6ccbd81

Browse files
committed
Fixed an issue with Docker configuration.
config.js was mounted as a folder and not a file ^^
1 parent 1440d12 commit 6ccbd81

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

docker-compose.dev.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ services:
3131
ports:
3232
- "127.0.0.1:3001:3001"
3333
volumes:
34-
- ./config.js:/sqtracker/config.js
34+
- type: bind
35+
source: ./config.js
36+
target: /sqtracker/config.js
3537
depends_on:
3638
- database
3739
client:
@@ -42,6 +44,9 @@ services:
4244
ports:
4345
- "127.0.0.1:3000:3000"
4446
volumes:
45-
- ./config.js:/sqtracker/config.js
47+
- type: bind
48+
source: ./config.js
49+
target: /sqtracker/config.js
4650
depends_on:
4751
- api
52+

docker-compose.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ services:
3636
ports:
3737
- "127.0.0.1:3001:3001"
3838
volumes:
39-
- ./config.js:/sqtracker/config.js
39+
- type: bind
40+
source: ./config.js
41+
target: /sqtracker/config.js
4042
depends_on:
4143
- database
4244
client:
@@ -45,7 +47,9 @@ services:
4547
ports:
4648
- "127.0.0.1:3000:3000"
4749
volumes:
48-
- ./config.js:/sqtracker/config.js
50+
- type: bind
51+
source: ./config.js
52+
target: /sqtracker/config.js
4953
# - ./favicon.png:/sqtracker/public/favicon.png
5054
# - ./favicon.ico:/sqtracker/public/favicon.ico
5155
depends_on:

0 commit comments

Comments
 (0)