Comments (7)
You have to run it with docker compose
instead of docker-compose
. To run, use docker compose up
.
This project uses docker compose V2 and I can say that if you execute docker-compose -v
, it will show you version 1.xx.xx whereas now docker comes with compose v2.
from linkwarden.
+1 to this
from linkwarden.
same unfotunately...
from linkwarden.
@moeenaslam Thanks for the suggestion. However, I don't think it is working on my end even if I switched to docker compose
.
Here's what I've done.
$ mkdir -p ~/.docker/cli-plugins/
$ curl -SL https://github.com/docker/compose/releases/download/v2.6.1/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
$ chmod +x ~/.docker/cli-plugins/docker-compose
Then I made a quick test
$ docker-compose version
docker-compose version 1.25.0, build unknown
docker-py version: 4.1.0
CPython version: 3.8.10
OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020
$ docker compose version
Docker Compose version v2.6.1
Started with docker compose
$ cd link-warden/
$ docker compose up -d
[+] Running 4/4
⠿ Network link-warden_default Created 0.1s
⠿ Container link-warden-mongo-1 Started 0.4s
⠿ Container link-warden-link-warden-api-1 Started 0.7s
⠿ Container link-warden-link-warden-1 Started 1.0s
However, it was still with same issue
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
62068e10300c link-warden_link-warden "docker-entrypoint.s…" 8 seconds ago Restarting (127) 1 second ago link-warden-link-warden-1
db5808576db5 link-warden_link-warden-api "docker-entrypoint.s…" 8 seconds ago Restarting (1) 1 second ago link-warden-link-warden-api-1
The error logs are the same as I pasted previously.
from linkwarden.
Ok, I made a fresh start by deleting all the existing images + git folder
I used docker compose up -d
this time and it's working as expected.
One more thing I should mention is I also tried to use Dockerfile.prod
as Dockerfile
and it's not working for link-warden_link-warden
link-warden_link-warden
is still restarting with error in log:
/docker-entrypoint.sh: exec: line 38: npm: not found
I did noticed a few warnings during build, unfortunately, I didn't capture all of them as they rolled over quickly.
=> => # found 0 vulnerabilities
=> => # npm WARN EBADENGINE Unsupported engine {
=> => # npm WARN EBADENGINE package: '[email protected]',
=> => # npm WARN EBADENGINE required: { npm: 'please-use-yarn', yarn: '>= 1.19.1' },
=> => # npm WARN EBADENGINE current: { node: 'v18.4.0', npm: '8.14.0' }
=> => # npm WARN EBADENGINE }
=> => # npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
=> => # npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
=> => # To address all issues (including breaking changes), run:
=> => # npm audit fix --force
=> => # Run `npm audit` for details.
=> => # > [email protected] build
=> => # > react-scripts build
Using the default Dockerfile
(dev version as mentioned in the file) is ok to make the whole app running.
@daniel31x13 Could you update your README.md
to emphasize that this project should be using docker compose V2
so that the other users could avoid this issue.
Thanks all.
from linkwarden.
Hello @nevertomorrow,
Sorry to be unresponsive.
I applied the changes.
from linkwarden.
Got this error and never got the project running. Using docker compose v2. Tried deleting the images and the git folder and trying again, with no luck.
from linkwarden.
Related Issues (20)
- Edit Link itself & Collection folder color add RGB code
- UI tweak / design optimization HOT 1
- Profile Setting doesn't show all Settings HOT 2
- [Feature request] Adding links from private network not preserve format
- Support docker secrets
- Link filtering on add or import HOT 1
- What are the actual dependencies / why does it try to install Xorg ?
- Something went wrong while retrieving the file size HOT 1
- Reddit Links not Archiving HOT 1
- Links from printables.com are not saved correctly HOT 1
- Is saving websites as WARC files supported?
- Login via REST API HOT 5
- Entra ID / generic OAUTH HOT 1
- Scrolling a Category in Details mode does not lazy load additional links. HOT 7
- Add additional metadata elements to each Link (e.g. Date Modified, Visit Count, Date of Last Visit, Rating)
- One button to save all the current window's tabs in a new Collection
- Something went wrong while retrieving the file size - version 2.4.9 HOT 2
- Failed login via Linkwarden browser extension HOT 14
- Is it possibe to use a browser bookmarklet to put pages into linkwarden HOT 1
- Support a token auth method for sso only instances HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkwarden.